CVE-2020-25040 Insecure permissions on build temporary rootfs in Singularity
Insecure permissions on temporary directories in Singularity allow local attackers to modify container build operations, potentially leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-25040?
CVE-2020-25040 is a high-severity vulnerability in Opensuse Leap, published on 16 Sep 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-668
Which versions are affected by CVE-2020-25040?
2 open source packages ship an affected version, including github.com/sylabs/singularity. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/sylabs/singularity Go | All versions | 3.6.3 |
github.com/sylabs/singularity Go | All versions | 3.6.3 |
Products include Opensuse Leap, Sylabs Singularity.
How do I fix CVE-2020-25040?
Upgrade github.com/sylabs/singularity to 3.6.3 or later.
Is CVE-2020-25040 being exploited?
There is no known exploitation of CVE-2020-25040 in the wild and no public exploit code.
Other vulnerabilities in Opensuse Leap
Sources
Also known as GHSA-jv9c-w74q-6762, UBUNTU-CVE-2020-25040.