CVE-2019-11328 Incorrect Permission Assignment for Critical Resource in Singularity
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/sylabs/singularity Go | From 3.1.0 | 3.2.0 |
github.com/sylabs/singularity Go | From 3.1.0 | 3.2.0 |
Linux distribution packages (2)
singularity SUSE:Package Hub 15 | All versions | 3.4.1-bp151.3.3.1 |
singularity SUSE:Package Hub 15 SP1 | All versions | 3.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.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as GHSA-557g-r22w-9wvx, openSUSE-SU-2019:2288-1.