VYPR
High severityNVD Advisory· Published Sep 16, 2020· Updated Aug 4, 2024

CVE-2020-25040

CVE-2020-25040

Description

Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Singularity through 3.6.2 has insecure permissions on temporary directories during container builds, allowing local users to read image contents or inject arbitrary content.

Vulnerability

Description

Sylabs Singularity through version 3.6.2 contains a vulnerability related to insecure permissions on temporary directories used during explicit and implicit container build operations [1][2]. This issue is distinct from CVE-2020-25039 [1].

Attack

Vector and Prerequisites

A local user with access to the system can exploit this by reading the contents of the container image while it is being built [2]. Furthermore, if the image itself contains a world-writable file or directory, an attacker can inject arbitrary content into the build process [2]. This injection can potentially lead to arbitrary code execution during the build or when the resulting container is run [2].

Impact

The impact includes unauthorized disclosure of sensitive image data and, in the presence of world-writable elements, arbitrary code execution with the privileges of the build process [2]. This could compromise the integrity of the built container and the host system.

Mitigation

Singularity 3.6.3 addresses this vulnerability [2]. Users are advised to upgrade immediately [2]. As a workaround, setting the TMPDIR environment variable to a directory accessible only by the user can mitigate the issue, but this is difficult to enforce and not recommended as a primary fix [2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/sylabs/singularityGo
< 3.6.33.6.3

Affected products

6

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.