---
title: CVE-2021-32635
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2021-32635
---

# CVE-2021-32635

Publication date 28 May 2021

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2021-32635#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| singularity-container | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32635)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-32635)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2021-32635)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2021-32635)

### Other references

* <https://github.com/hpcng/singularity/security/advisories/GHSA-jq42-hfch-42f3>
* <https://github.com/sylabs/singularity/security/advisories/GHSA-5mv9-q7fq-9394>
* <https://www.cve.org/CVERecord?id=CVE-2021-32635>
