CVE-2020-25040
published 2020-09-16CVE-2020-25040: Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different…
PriorityP345high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
2.04%
78.9th percentile
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.
Affected
5 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 | >= 0 < 3.6.3 | 3.6.3 |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| sylabs | singularity | <= 3.6.2 | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
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.
OSV
Insecure permissions on build temporary rootfs in Singularity
osv·2021-05-24
CVE-2020-25040 [HIGH] Insecure permissions on build temporary rootfs in Singularity
Insecure permissions on build temporary rootfs in Singularity
### Impact
Insecure permissions on temporary directories used in explicit and implicit container build operations.
When a Singularity command that results in a container build operation is executed, it is possible for a user with access to the system to read the contents of the image during the build. Additionally, if the image contains a world-writable file or directory, it is possible for a user to inject arbitrary content into the running build, which in certain circumstances may enable arbitrary code execution during the build and/or when the built container is run.
### Patches
This issue is addressed in Singularity 3.6.3.
All users are advised to upgrade to 3.6.3.
### Workarounds
The issue is mitigated if `TMPDIR` i
GHSA
Insecure permissions on build temporary rootfs in Singularity
ghsa·2021-05-24
CVE-2020-25040 [HIGH] CWE-668 Insecure permissions on build temporary rootfs in Singularity
Insecure permissions on build temporary rootfs in Singularity
### Impact
Insecure permissions on temporary directories used in explicit and implicit container build operations.
When a Singularity command that results in a container build operation is executed, it is possible for a user with access to the system to read the contents of the image during the build. Additionally, if the image contains a world-writable file or directory, it is possible for a user to inject arbitrary content into the running build, which in certain circumstances may enable arbitrary code execution during the build and/or when the built container is run.
### Patches
This issue is addressed in Singularity 3.6.3.
All users are advised to upgrade to 3.6.3.
### Workarounds
The issue is mitigated if `TMPDIR` i
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.
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-25040 singularity: sinularity: Insecure Permissions on temporary directories [fedora-all]
bugzilla·2020-09-24·CVSS 8.8
CVE-2020-25040 [HIGH] CVE-2020-25040 singularity: sinularity: Insecure Permissions on temporary directories [fedora-all]
CVE-2020-25040 singularity: sinularity: 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 multip
Bugzilla
CVE-2020-25040 singularity: sinularity: Insecure Permissions on temporary directories [epel-all]
bugzilla·2020-09-24·CVSS 8.8
CVE-2020-25040 [HIGH] CVE-2020-25040 singularity: sinularity: Insecure Permissions on temporary directories [epel-all]
CVE-2020-25040 singularity: sinularity: 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 s
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-jv9c-w74q-6762https://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-jv9c-w74q-6762https://medium.com/sylabs
2020-09-16
Published