CVE-2020-25040 Insecure permissions on build temporary rootfs in Singularity

High 8.8 Published Updated

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.

PackageAffectedFixed in
github.com/sylabs/singularity GoAll versions3.6.3
github.com/sylabs/singularity GoAll versions3.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.

All Opensuse Leap vulnerabilities

Sources

Also known as GHSA-jv9c-w74q-6762, UBUNTU-CVE-2020-25040.

Is CVE-2020-25040 in your software?

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

Check your SBOMs for free