Home / Canonical Ltd. / Apport / CVE-2021-3899
CVE-2021-3899: is it exploited, and which versions of Canonical Ltd. Apport are affected and fixed?
CVE-2021-3899 is a time-of-check time-of-use race condition vulnerability in Canonical Ltd. Apport. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: Apport before 2.21.0 (CVE record by canonical). Fixed in 2.21.0 (CVE record by canonical). Severity: High (7.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2021-3899?
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.
From the CVE record by canonical, last updated August 19, 2024, 14:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical Ltd. | Apport apport Linux | before 2.21.0 | 2.21.0 |
As the CVE record by canonical states it, last updated August 19, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | apport | before 2.21.0 | application |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 20.04 | operating system |
| canonical | ubuntu linux | 21.10 | operating system |
| canonical | ubuntu linux | 22.04 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:05 UTC.
How severe is CVE-2021-3899?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-3899 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 19, 2024)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Where are the vendor advisories and references?
- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1948376 issue-tracking
- https://ubuntu.com/security/notices/USN-5427-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-3899 issue-tracking
Who found and reported it?
- Muqing Liu from Singurlar Security Lab (finder)
- neoni (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 23, 2021
- Published
- June 3, 2024, 18:40 UTC
- CVE record updated
- August 19, 2024, 14:10 UTC by canonical
- NVD
- Analyzed, last modified June 17, 2026, 04:05 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apport?
- Nov 9, 2026CVE-2026-84410 Canonical apport: privilege escalation (improper privilege management)
- Nov 9, 2026CVE-2026-86692 Canonical apport: path traversal (reading or writing files outside the intended folder)
- Aug 20, 2026CVE-2026-77113 Canonical Apport: path traversal
- Dec 10, 2025CVE-2025-5467 Canonical apport: incorrect Ownership Assignment
- May 30, 2025CVE-2025-5054 Canonical Apport: race condition
- Jan 31, 2025CVE-2020-11936 Canonical Ltd. Apport: CWE-noinfo Not enough information
- Jan 31, 2025CVE-2022-28653 Canonical Ltd. Apport: CWE-noinfo Not enough information
- Jun 4, 2024CVE-2022-28658 Canonical Ltd. Apport: CWE-noinfo Not enough information
Questions about CVE-2021-3899
Is CVE-2021-3899 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical Ltd. Apport are affected by CVE-2021-3899?
Apport before 2.21.0, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2021-3899?
2.21.0, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3899?
High (7.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3899?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.