Race condition in apport (Ubuntu package) and python3-apport (Ubuntu package) - CVE-2021-3899
Published: May 18, 2022 / Updated: September 13, 2022
Vulnerability identifier: #VU63360
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2021-3899
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vendor: Canonical Ltd.
Affected software:
apport (Ubuntu package)
python3-apport (Ubuntu package)
apport (Ubuntu package)
python3-apport (Ubuntu package)
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a race condition in the replaced executable detection. A local user can exploit the race and execute arbitrary code with root privileges.
How to mitigate CVE-2021-3899
Install updates from vendor's website.