CVE-2020-25039
published 2020-09-16CVE-2020-25039: Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary directories used in fakeroot or user namespace container execution.
PriorityP344high8.1CVSS 3.1
AVNACLPRLUINSUCHIHAN
EPSS
2.01%
78.7th percentile
Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary directories used in fakeroot or user namespace container execution.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | singularity-container | < singularity-container 3.9.5+ds1-2 (sid) | singularity-container 3.9.5+ds1-2 (sid) |
| github.com | sylabs_singularity | >= 3.2.0 < 3.6.3 | 3.6.3 |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| sylabs | singularity | <= 3.6.2 | — |
| sylabs | singularity | 3.2.0 – 3.6.2 | — |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:N
osv8.1HIGH
vendor_debian8.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
ghsa·2021-12-20
CVE-2020-25039 [HIGH] CWE-668 Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
### Impact
Insecure permissions on temporary directories used in fakeroot or user namespace container execution.
When a Singularity action command (run, shell, exec) is run with the fakeroot or user namespace option, Singularity will extract a container image to a temporary sandbox directory. Due to insecure permissions on the temporary directory it is possible for any user with access to the system to read the contents of the image. Additionally, if the image contains a world-writable file or directory, it is possible for a user to inject arbitrary content into the running container.
### Patches
This issue is addressed in Singularity 3.6.3.
All users are advised to upgrade to 3.6.3.
### Workarounds
T
OSV
Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
osv·2021-12-20
CVE-2020-25039 [HIGH] Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
### Impact
Insecure permissions on temporary directories used in fakeroot or user namespace container execution.
When a Singularity action command (run, shell, exec) is run with the fakeroot or user namespace option, Singularity will extract a container image to a temporary sandbox directory. Due to insecure permissions on the temporary directory it is possible for any user with access to the system to read the contents of the image. Additionally, if the image contains a world-writable file or directory, it is possible for a user to inject arbitrary content into the running container.
### Patches
This issue is addressed in Singularity 3.6.3.
All users are advised to upgrade to 3.6.3.
### Workarounds
T
OSV
CVE-2020-25040: Sylabs Singularity through 3
osv·2020-09-16·CVSS 8.1
CVE-2020-25040 [HIGH] CVE-2020-25040: Sylabs Singularity through 3
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.
OSV
CVE-2020-25039: Sylabs Singularity 3
osv·2020-09-16·CVSS 8.1
CVE-2020-25039 [HIGH] CVE-2020-25039: Sylabs Singularity 3
Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary directories used in fakeroot or user namespace container execution.
Debian
CVE-2020-25039: singularity-container - Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary dir...
vendor_debian·2020·CVSS 8.1
CVE-2020-25039 [HIGH] CVE-2020-25039: singularity-container - Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary dir...
Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary directories used in fakeroot or user namespace container execution.
Scope: local
sid: resolved (fixed in 3.9.5+ds1-2)
Debian
CVE-2020-25040: singularity-container - Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directori...
vendor_debian·2020·CVSS 8.1
CVE-2020-25040 [HIGH] CVE-2020-25040: singularity-container - Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directori...
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.
Scope: local
sid: resolved (fixed in 3.9.5+ds1-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-25039 singularity: Insecure Permissions on temporary directories
bugzilla·2020-09-24·CVSS 8.1
CVE-2020-25039 [HIGH] CVE-2020-25039 singularity: Insecure Permissions on temporary directories
CVE-2020-25039 singularity: Insecure Permissions on temporary directories
Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary directories used in fakeroot or user namespace container execution.
Reference:
https://github.com/hpcng/singularity/security/advisories/GHSA-w6v2-qchm-grj
Discussion:
Created singularity tracking bugs for this issue:
Affects: epel-all [bug 1882337]
Affects: fedora-all [bug 1882336]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
Bugzilla
CVE-2020-25039 singularity: Insecure Permissions on temporary directories [fedora-all]
bugzilla·2020-09-24·CVSS 8.1
CVE-2020-25039 [HIGH] CVE-2020-25039 singularity: Insecure Permissions on temporary directories [fedora-all]
CVE-2020-25039 singularity: Insecure Permissions on temporary directories [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2020-25039 singularity: Insecure Permissions on temporary directories [epel-all]
bugzilla·2020-09-24·CVSS 8.1
CVE-2020-25039 [HIGH] CVE-2020-25039 singularity: Insecure Permissions on temporary directories [epel-all]
CVE-2020-25039 singularity: Insecure Permissions on temporary directories [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported ver
Bugzilla
CVE-2020-25040 singularity: Insecure Permissions on temporary directories
bugzilla·2020-09-24·CVSS 8.1
CVE-2020-25040 [HIGH] CVE-2020-25040 singularity: Insecure Permissions on temporary directories
CVE-2020-25040 singularity: Insecure Permissions on temporary directories
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.
Reference:
https://github.com/hpcng/singularity/security/advisories/GHSA-jv9c-w74q-6762
Discussion:
Created singularity tracking bugs for this issue:
Affects: epel-all [bug 1882334]
Affects: fedora-all [bug 1882333]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.htmlhttps://github.com/hpcng/singularity/security/advisories/GHSA-w6v2-qchm-grj7https://medium.com/sylabshttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00070.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00088.htmlhttps://github.com/hpcng/singularity/security/advisories/GHSA-w6v2-qchm-grj7https://medium.com/sylabs
2020-09-16
Published