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.

SUSE Bugzilla entry: 1186619 [RESOLVED / FIXED]

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-2024-11384


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 SP5 singularity Already fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 singularity Already fixed
openSUSE Leap 15.5 singularity Already fixed
openSUSE Leap 15.6 singularity Already fixed
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Module for Package Hub 15 SP4 singularity Already fixed
SUSE Package Hub 15 SP2 singularity Released
SUSE Package Hub 15 SP3 singularity Released
openSUSE Leap 15.4 singularity Already fixed


SUSE Timeline for this CVE

CVE page created: Thu May 27 23:11:08 2021
CVE page last modified: Mon Sep 9 13:47:24 2024