Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-32635

MEDIUM 6.3EPSS 73%

Action Commands (run/shell/exec) Against Library URIs Ignore Configured Remote Endpoint

Also known as GHSA-5mv9-q7fq-9394

Mitigation

  • Upgrade github.com/sylabs/singularity to 3.7.4 or later.

Who should check

  • Projects that depend on Go package github.com/sylabs/singularity (>= 3.7.2, < 3.7.4)
  • Anyone running sylabs singularity >= 3.7.2, <= 3.7.3

Vulnerability facts

Affected
github.com/sylabs/singularity >= 3.7.2, < 3.7.4
Fixed in
3.7.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
1.42% chance of exploitation in 30 days (percentile 73, 2026-11-26)
CWE
CWE-923, CWE-20
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/sylabs/singularity>= 3.7.2, < 3.7.43.7.4osv
sylabs singularity>= 3.7.2, <= 3.7.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-32635. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-32635.md
Affected: github.com/sylabs/singularity >= 3.7.2, < 3.7.4
Fixed in: 3.7.4

Steps:
1. Search this machine and project for github.com/sylabs/singularity (Go), sylabs singularity: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-32635 being exploited?

There is no confirmed exploitation: CVE-2021-32635 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.42% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-32635?

Medium: CVSS 6.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2021-32635?

github.com/sylabs/singularity >= 3.7.2, < 3.7.4.

Is there a fix for CVE-2021-32635?

Yes. Fixed in 3.7.4. Upgrade github.com/sylabs/singularity to 3.7.4 or later.

How do I check if I'm affected by CVE-2021-32635?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors