CVE Vulnerabilities

CVE-2020-15702

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Aug 06, 2020 | Modified: Nov 03, 2025
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.4 MEDIUM
AV:L/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check.

Affected Software

NameVendorStart VersionEnd Version
ApportCanonical2.20.11-0ubuntu8 (including)2.20.11-0ubuntu8 (including)
ApportCanonical2.20.11-0ubuntu9 (including)2.20.11-0ubuntu9 (including)
ApportCanonical2.20.11-0ubuntu10 (including)2.20.11-0ubuntu10 (including)
ApportCanonical2.20.11-0ubuntu11 (including)2.20.11-0ubuntu11 (including)
ApportCanonical2.20.11-0ubuntu12 (including)2.20.11-0ubuntu12 (including)
ApportCanonical2.20.11-0ubuntu13 (including)2.20.11-0ubuntu13 (including)
ApportCanonical2.20.11-0ubuntu14 (including)2.20.11-0ubuntu14 (including)
ApportCanonical2.20.11-0ubuntu15 (including)2.20.11-0ubuntu15 (including)
ApportCanonical2.20.11-0ubuntu16 (including)2.20.11-0ubuntu16 (including)
ApportCanonical2.20.11-0ubuntu17 (including)2.20.11-0ubuntu17 (including)
ApportCanonical2.20.11-0ubuntu18 (including)2.20.11-0ubuntu18 (including)
ApportCanonical2.20.11-0ubuntu19 (including)2.20.11-0ubuntu19 (including)
ApportCanonical2.20.11-0ubuntu20 (including)2.20.11-0ubuntu20 (including)
ApportCanonical2.20.11-0ubuntu21 (including)2.20.11-0ubuntu21 (including)
ApportCanonical2.20.11-0ubuntu22 (including)2.20.11-0ubuntu22 (including)
ApportCanonical2.20.11-0ubuntu23 (including)2.20.11-0ubuntu23 (including)
ApportCanonical2.20.11-0ubuntu24 (including)2.20.11-0ubuntu24 (including)
ApportCanonical2.20.11-0ubuntu25 (including)2.20.11-0ubuntu25 (including)
ApportCanonical2.20.11-0ubuntu26 (including)2.20.11-0ubuntu26 (including)
ApportCanonical2.20.11-0ubuntu27 (including)2.20.11-0ubuntu27 (including)
ApportCanonical2.20.11-0ubuntu27.2 (including)2.20.11-0ubuntu27.2 (including)
ApportCanonical2.20.11-0ubuntu27.3 (including)2.20.11-0ubuntu27.3 (including)
ApportCanonical2.20.11-0ubuntu27.4 (including)2.20.11-0ubuntu27.4 (including)
ApportCanonical2.20.11-0ubuntu27.5 (including)2.20.11-0ubuntu27.5 (including)
ApportUbuntubionic*
ApportUbuntudevel*
ApportUbuntueoan*
ApportUbuntuesm-infra-legacy/trusty*
ApportUbuntuesm-infra/bionic*
ApportUbuntuesm-infra/focal*
ApportUbuntuesm-infra/xenial*
ApportUbuntufocal*
ApportUbuntutrusty*
ApportUbuntutrusty/esm*
ApportUbuntuxenial*

Potential Mitigations

References