cve.bz

CVE-2021-32635 sylabs singularity: Improper Input Validation

6.3 mediumEPSS 1.4%Fix available

Medium (6.3) in sylabs singularity. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/sylabs/singularity 3.7.4.

On this page
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.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-923 Improper Restriction of Communication Channel to Intended Endpoints
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32635 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32635?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32635?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32635 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sylabs:singularity3.7.2
sylabs:singularity3.7.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5mv9-q7fq-9394Gogithub.com/sylabs/singularity>=3.7.2 <3.7.43.7.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.04:LTS, Pro:18.04:LTS and 1 moresingularity-containerno fix listedUBUNTU-CVE-2021-32635
openSUSETumbleweedsingularity3.8.3-1.2openSUSE-SU-2024:11384-1
Alpinev3.19, v3.20, v3.21 and 3 moresingularity3.7.4-r0ALPINE-CVE-2021-32635

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-161 Infrastructure Manipulation Severity: High
  • CAPEC-481 Contradictory Destinations in Traffic Routing Schemes Likelihood: Medium · Severity: High
  • CAPEC-501 Android Activity Hijack Severity: Medium
  • CAPEC-697 DHCP Spoofing Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON