CVE-2015-8239 Race condition in n/a

High 7.0 Published Updated

Local attackers can exploit a race condition in sudo's SHA-2 digest support to replace command files before execution, leading to privilege escalation.

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-8239?

CVE-2015-8239 is a high-severity vulnerability in n/a, published on 10 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The SHA-2 digest support in the sudoers plugin in sudo after 1.8.7 allows local users with write permissions to parts of the called command to replace them before it is executed.

Weakness: CWE-362

Which versions are affected by CVE-2015-8239?

It affects 1 product.

Products include Sudo Project Sudo.

How do I fix CVE-2015-8239?

Apply the vendor's patch.

Is CVE-2015-8239 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2015-8239, GHSA-w2j3-vrwq-vgh5, MGASA-2016-0261, UBUNTU-CVE-2015-8239.

Is CVE-2015-8239 in your software?

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

Check your SBOMs for free