CVE-2021-3899 Race condition in Apport

High 7.8 Published Updated

A race condition in Apport allows local attackers to execute arbitrary code as root under specific configurations.

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-2021-3899?

CVE-2021-3899 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

There is a race condition in the 'replaced executable' detection that, with the correct local configuration, allow an attacker to execute arbitrary code as root.

Weakness: CWE-367

Which versions are affected by CVE-2021-3899?

It affects 2 products.

Products include Canonical Apport, Canonical Ubuntu Linux.

How do I fix CVE-2021-3899?

Apply the vendor's patch.

Is CVE-2021-3899 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-m676-gr96-hhhh, UBUNTU-CVE-2021-3899.

Is CVE-2021-3899 in your software?

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

Check your SBOMs for free