Upstream information

CVE-2021-32635 at MITRE

Description

Singularity is an open source container platform. In verions 3.7.2 and 3.7.3, Dde to incorrect use of a default URL, `singularity` action commands (`run`/`shell`/`exec`) specifying a container using a `library://` URI will always attempt to retrieve the container from the default remote endpoint (`cloud.sylabs.io`) rather than the configured remote endpoint. An attacker may be able to push a malicious container to the default remote endpoint with a URI that is identical to the URI used by a victim with a non-default remote endpoint, thus executing the malicious container. Only action commands (`run`/`shell`/`exec`) against `library://` URIs are affected. Other commands such as `pull` / `push` respect the configured remote endpoint. The vulnerability is patched in Singularity version 3.7.4. Two possible workarounds exist: Users can only interact with the default remote endpoint, or an installation can have an execution control list configured to restrict execution to containers signed with specific secure keys.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 6.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact Low
Integrity Impact Low
Availability Impact Low
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1186619 [IN_PROGRESS]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 15 SP2
  • singularity >= 3.7.4-bp152.2.24.1
Patchnames:
openSUSE-2021-867
SUSE Package Hub 15 SP3
  • singularity >= 3.7.4-bp153.2.3.1
Patchnames:
openSUSE-2021-987
openSUSE Leap 15.3
  • singularity >= 3.7.4-bp153.2.3.1
Patchnames:
openSUSE-2021-987
openSUSE Tumbleweed
  • singularity >= 3.8.3-1.2
Patchnames:
openSUSE Tumbleweed GA singularity-3.8.3-1.2


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP4 singularity Already fixed
SUSE Linux Enterprise Module for Package Hub 15 SP5 singularity Already fixed
Products past their end of life and not receiving proactive updates anymore.
SUSE Package Hub 15 SP2 singularity Released
SUSE Package Hub 15 SP3 singularity Released


SUSE Timeline for this CVE

CVE page created: Thu May 27 23:11:08 2021
CVE page last modified: Wed Sep 6 12:42:18 2023