Skip to content
Fencer Intel
high 8.8

CVE-2020-25040 json

Insecure permissions on build temporary rootfs in Singularity

published 6y ago modified 4mo ago also GHSA-jv9c-w74q-6762 , EUVD-2021-1126

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/sylabs/singularity 3.6.3
  • singularity openSUSE Tumbleweed 3.8.3-1.2
  • singularity Package Hub 15 SP2 3.6.3-bp152.2.8.1
  • singularity openSUSE Leap 15.2, openSUSE Leap 15.1 3.6.3-lp152.2.6.1

opensuse advisories openSUSE-SU-2024:11384-1openSUSE-SU-2020:1529-1openSUSE-SU-2020:1497-1

  • singularity Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 3.6.3-r0

alpine advisories ALPINE-CVE-2020-25040

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-25040 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-25040 updated cvss 5.0

singularity: Insecure Permissions on temporary directories

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.04% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/sylabs/singularity
<3.6.3
3.6.3

Classification

Weakness
  • CWE-668 Exposure of Resource to Wrong Sphere
  • CWE-732 Incorrect Permission Assignment for Critical Resource

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.