CVE-2020-25039 Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity

High 8.1 Published Updated

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.

PackageAffectedFixed in
github.com/sylabs/singularity GoFrom 3.2.03.6.3
github.com/sylabs/singularity GoFrom 3.2.03.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.

All Opensuse Leap vulnerabilities

Sources

Also known as GHSA-w6v2-qchm-grj7, UBUNTU-CVE-2020-25039.

Is CVE-2020-25039 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free