CVE-2019-11328 Incorrect Permission Assignment for Critical Resource in Singularity

High 8.8 Published Updated

A local attacker can exploit insecure file permissions in Singularity instances to modify starter-suid behavior and escalate privileges on the host.

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-2019-11328?

CVE-2019-11328 is a high-severity vulnerability in Fedoraproject Fedora, published on 14 May 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in Singularity 3.1.0 to 3.2.0-rc2, a malicious user with local/network access to the host system (e.g. ssh) could exploit this vulnerability due to insecure permissions allowing a user to edit files within `/run/singularity/instances/sing/<user>/<instance>`. The manipulation of those files can change the behavior of the starter-suid program when instances are joined resulting in potential privilege escalation on the host.

Weakness: CWE-732

Which versions are affected by CVE-2019-11328?

2 open source packages ship an affected version, including github.com/sylabs/singularity. It affects 4 products.

PackageAffectedFixed in
github.com/sylabs/singularity GoFrom 3.1.03.2.0
github.com/sylabs/singularity GoFrom 3.1.03.2.0
Linux distribution packages (2)
singularity SUSE:Package Hub 15All versions3.4.1-bp151.3.3.1
singularity SUSE:Package Hub 15 SP1All versions3.4.1-bp151.3.3.1

Products include Fedoraproject Fedora, Opensuse Backports, Opensuse Leap, Sylabs Singularity.

How do I fix CVE-2019-11328?

Upgrade github.com/sylabs/singularity to 3.2.0 or later.

Is CVE-2019-11328 being exploited?

There is no known exploitation of CVE-2019-11328 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-557g-r22w-9wvx, openSUSE-SU-2019:2288-1.

Is CVE-2019-11328 in your software?

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

Check your SBOMs for free