CVE-2020-8833 Apport race condition in crash report permissions

Medium 5.6 Published Updated

A race condition in Apport allows local attackers to escalate privileges to root if symlink protection is disabled.

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

CVE-2020-8833 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 22 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Time-of-check Time-of-use Race Condition vulnerability on crash report ownership change in Apport allows for a possible privilege escalation opportunity. If fs.protected_symlinks is disabled, this can be exploited between the os.open and os.chown calls when the Apport cron script clears out crash files of size 0. A symlink with the same name as the deleted file can then be created upon which chown will be called, changing the file owner to root. Fixed in versions 2.20.1-0ubuntu2.23, 2.20.9-0ubuntu7.14, 2.20.11-0ubuntu8.8 and 2.20.11-0ubuntu22.

Weakness: CWE-367

Which versions are affected by CVE-2020-8833?

It affects 2 products.

Products include Apport Project Apport, Canonical Ubuntu Linux.

How do I fix CVE-2020-8833?

Apply the vendor's patch.

Is CVE-2020-8833 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-w9g5-3qgc-xmgx, UBUNTU-CVE-2020-8833.

Is CVE-2020-8833 in your software?

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

Check your SBOMs for free