CVE-2020-15702 TOCTOU in apport

High 7.0 Published Updated

A local attacker can exploit a TOCTOU race condition in apport to escalate privileges and execute arbitrary code via PID recycling.

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-2020-15702?

CVE-2020-15702 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 6 Aug 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

TOCTOU Race Condition vulnerability in apport allows a local attacker to escalate privileges and execute arbitrary code. An attacker may exit the crashed process and exploit PID recycling to spawn a root process with the same PID as the crashed process, which can then be used to escalate privileges. Fixed in 2.20.1-0ubuntu2.24, 2.20.9 versions prior to 2.20.9-0ubuntu7.16 and 2.20.11 versions prior to 2.20.11-0ubuntu27.6. Was ZDI-CAN-11234.

Weakness: CWE-367

Which versions are affected by CVE-2020-15702?

It affects 2 products.

Products include Canonical Apport, Canonical Ubuntu Linux.

How do I fix CVE-2020-15702?

Apply the vendor's patch.

Is CVE-2020-15702 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-r8j7-rc3f-2wqq, UBUNTU-CVE-2020-15702.

Is CVE-2020-15702 in your software?

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

Check your SBOMs for free