Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2021-3899 EUVD-2021-27131GHSA-m676-gr96-hhhh

There is a race condition in the 'replaced executable' detection that, with the correct local configuration, allow an attacker to execute a…

Published Jun 3, 2024 · Updated Aug 19, 2024 · Assigned by canonical

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.

Affected products

VendorProductAffectedFixed
Canonical Apport < 2.21.0 2.21.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS apport 2.20.11-0ubuntu82.1 USN-5427-1
Ubuntu 20.04 LTS apport 2.20.11-0ubuntu27.24 USN-5427-1
Ubuntu 18.04 LTS apport 2.20.9-0ubuntu7.28 USN-5427-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS apport 2.20.1-0ubuntu2.30+esm4 USN-6894-1
Ubuntu Pro 14.04 LTS apport No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References