CVE-2021-3899
Ubuntu Security Notice USN-6894-1
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Existe una condición de ejecución en la detección de 'ejecutable reemplazado' que, con la configuración local correcta, permite a un atacante ejecutar código arbitrario como root.
Muqing Liu and neoni discovered that Apport incorrectly handled detecting if an executable was replaced after a crash. A local attacker could possibly use this issue to execute arbitrary code as the root user. Gerrit Venema discovered that Apport incorrectly handled connections to Apport sockets inside containers. A local attacker could possibly use this issue to connect to arbitrary sockets as the root user.
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2021-10-23 CVE Reserved
- 2022-05-17 CVE Published
- 2023-05-08 First Exploit
- 2024-08-19 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
CAPEC
References (4)
URL | Tag | Source |
---|---|---|
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1948376 | Issue Tracking | |
https://www.cve.org/CVERecord?id=CVE-2021-3899 | Issue Tracking |
URL | Date | SRC |
---|---|---|
https://github.com/liumuqing/CVE-2021-3899_PoC | 2023-05-08 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://ubuntu.com/security/notices/USN-5427-1 | 2024-06-03 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Canonical Ltd. Search vendor "Canonical Ltd." | Apport Search vendor "Canonical Ltd." for product "Apport" | < 2.21.0 Search vendor "Canonical Ltd." for product "Apport" and version " < 2.21.0" | en |
Affected
|