Skip to content
OpenAdvisories
High · 7.0 CVE-2020-15702 EUVD-2020-7689GHSA-r8j7-rc3f-2wqq

TOCTOU in apport

Published Aug 6, 2020 · Updated Nov 3, 2025 · Assigned by canonical

Description

TOCTOU Race Condition vulnerability in apport allows a local attacker to escalate privileges and execute arbitrary code. An attacker may exit the crashed process and exploit PID recycling to spawn a root process with the same PID as the crashed process, which can then be used to escalate privileges. Fixed in 2.20.1-0ubuntu2.24, 2.20.9 versions prior to 2.20.9-0ubuntu7.16 and 2.20.11 versions prior to 2.20.11-0ubuntu27.6. Was ZDI-CAN-11234.

Affected products

VendorProductAffectedFixed
Canonical apport 2.20.1 – < 2.20.1-0ubuntu2.24, 2.20.9 – < 2.20.9-0ubuntu7.16, 2.20.11 – < 2.20.11-0ubuntu27.6 2.20.1-0ubuntu2.24

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 20.04 LTS apport 2.20.11-0ubuntu27.6 USN-4449-1
Ubuntu 18.04 LTS apport 2.20.9-0ubuntu7.16 USN-4449-1
Ubuntu 16.04 LTS apport 2.20.1-0ubuntu2.24 USN-4449-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS apport 2.14.1-0ubuntu3.29+esm5 USN-4449-2

Advisories 2

References