CVE-2015-3339 Race condition in n/a

Medium 6.2 Published Updated

Local attackers can exploit a race condition in the Linux kernel to gain root privileges by timing setuid program execution during ownership changes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2015-3339?

CVE-2015-3339 is a medium-severity vulnerability in Debian Debian Linux, published on 27 May 2015. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Race condition in the prepare_binprm function in fs/exec.c in the Linux kernel before 3.19.6 allows local users to gain privileges by executing a setuid program at a time instant when a chown to root is in progress, and the ownership is changed but the setuid bit is not yet stripped.

Weakness: CWE-362

Which versions are affected by CVE-2015-3339?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2015-3339?

Apply the vendor's patch.

Is CVE-2015-3339 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-3339, GHSA-8x6w-vmh7-xc9h, UBUNTU-CVE-2015-3339, USN-2598-1, USN-2599-1.

Is CVE-2015-3339 in your software?

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

Check your SBOMs for free