GLSA-202107-50 : Singularity: Remote code execution

medium Nessus Plugin ID 156989

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202107-50 (Singularity: Remote code execution)

Singularity always uses the default remote endpoint, ‘cloud.syslabs.io’, for action commands using the ‘library://’
URI rather than the configured remote endpoint.
Impact :

An attacker that that can push a malicious container to the default remote endpoint could execute code on hosts that fetch the container.
Workaround :

There is no known workaround at this time.

Solution

All Singularity users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-cluster/singularity-3.7.4'

See Also

https://security.gentoo.org/glsa/202107-50

Plugin Details

Severity: Medium

ID: 156989

File Name: gentoo_GLSA-202107-50.nasl

Version: 1.4

Type: local

Published: 1/24/2022

Updated: 12/21/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-32635

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:singularity, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 7/22/2021

Vulnerability Publication Date: 5/28/2021

Reference Information

CVE: CVE-2021-32635

GLSA: 202107-50