CVE-2020-25039 Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity
Insecure permissions on temporary directories in Singularity allow local attackers to escalate privileges or read data when using fakeroot or user namespaces.
- 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-25039?
CVE-2020-25039 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 3.2.0 through 3.6.2 has Insecure Permissions on temporary directories used in fakeroot or user namespace container execution.
Weakness: CWE-668
Which versions are affected by CVE-2020-25039?
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 | From 3.2.0 | 3.6.3 |
github.com/sylabs/singularity Go | From 3.2.0 | 3.6.3 |
Products include Opensuse Leap, Sylabs Singularity.
How do I fix CVE-2020-25039?
Upgrade github.com/sylabs/singularity to 3.6.3 or later.
Is CVE-2020-25039 being exploited?
There is no known exploitation of CVE-2020-25039 in the wild and no public exploit code.
Other vulnerabilities in Opensuse Leap
Sources
Also known as GHSA-w6v2-qchm-grj7, UBUNTU-CVE-2020-25039.