6.8

CVE-2021-32635: Action Commands (run/shell/exec) Against Library URIs Ignore Configured Remote Endpoint

Modified
AliasesUBUNTU-CVE-2021-32635GHSA-5mv9-q7fq-9394ALPINE-CVE-2021-32635
Published 28-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32635 is a medium (CVSS 6.8) Improper Input Validation vulnerability in sylabs singularity. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v2.0 (NVD)
EPSS score
1.42%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 28-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.42%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.42% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • singularity< 3.7.4-r0
Github.com/sylabs1 product
  • singularity≥ 3.7.2, < 3.7.4
Sylabs1 product
Ubuntu1 product
  • singularity-containerAll versions (No fix recorded)

4 vendors · 4 products

References

10 links