CVE-2021-32635
published medium CVSS 3.1 · 6.3Action Commands (run/shell/exec) Against Library URIs Ignore Configured Remote Endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sylabs | — | singularity>= 3.7.2, <= 3.7.3 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | singularity | Fixed | 3.7.4-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | singularityaarch64 | Advisory build | 3.8.3-1.2 | OPENSUSE-SU-2024:11384-1 |
| Alpine Linux | v3.19 | singularity | Fixed | 3.7.4-r0 | Package fix record |
| Alpine Linux | v3.20 | singularity | Fixed | 3.7.4-r0 | Package fix record |
| Alpine Linux | v3.21 | singularity | Fixed | 3.7.4-r0 | Package fix record |
| Alpine Linux | v3.22 | singularity | Fixed | 3.7.4-r0 | Package fix record |
| Alpine Linux | v3.23 | singularity | Fixed | 3.7.4-r0 | Package fix record |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | singularity | Fixed | 3.7.4-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | singularityppc64le | Advisory build | 3.8.3-1.2 | OPENSUSE-SU-2024:11384-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | singularitys390x | Advisory build | 3.8.3-1.2 | OPENSUSE-SU-2024:11384-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | singularityx86_64 | Advisory build | 3.8.3-1.2 | OPENSUSE-SU-2024:11384-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sylabs | singularity | >= 3.7.2, <= 3.7.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-923 CWE-923: Improper Restriction of Communication Channel to Intended Endpoints
- CWE-20 CWE-20 Improper Input Validation
References
3- https://github.com/sylabs/singularity/releases/tag/v3.7.4
- https://github.com/sylabs/singularity/security/advisories/GHSA-5mv9-q7fq-9394
- GLSA-202107-50 https://security.gentoo.org/glsa/202107-50
Provider assertions
2GitHub_M · cna
Action Commands (run/shell/exec) Against Library URIs Ignore Configured Remote Endpoint
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 756e8a22d5146b9ee07eed3262f88d7557337be7802caa7b0daca1743625c943
- Ingested
- 23 Sep 2026, 07:54:29 UTC
- Source record
- Official CVE record