CVE-2021-32635
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.
EPSS 0.63% · 70.8th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:24.04:LTS | singularity-container | 0, 4.1.1+ds2-1, 4.1.1+ds2-1ubuntu0.1 |
| Ubuntu:Pro:18.04:LTS | singularity-container | 2.4.1-1, 2.4.2-4, 2.4.2-4ubuntu0.1~esm1 |
| Ubuntu:25.10 | singularity-container | 4.1.5+ds4-1, 0 |
Exploit Intelligence
Timeline
- May 28, 2021 CVE Published
- May 29, 2021 EPSS Score
- Jul 31, 2021 EPSS Score
- Sep 30, 2021 EPSS Score
- Dec 1, 2021 EPSS Score
- Jan 31, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Apr 2, 2022 EPSS Score
- Jun 2, 2022 EPSS Score
- Aug 3, 2022 EPSS Score
- Oct 3, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-32635 third-party-advisory
- https://github.com/hpcng/singularity/security/advisories/GHSA-jq42-hfch-42f3 third-party-advisory
- https://github.com/sylabs/singularity/security/advisories/GHSA-5mv9-q7fq-9394 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-32635 third-party-advisory