CVE Vulnerabilities

CVE-2022-29800

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

Published: Sep 21, 2022 | Modified: May 28, 2025
CVSS 3.x
4.7
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
4.7 MODERATE
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Ubuntu
HIGH

A time-of-check-time-of-use (TOCTOU) race condition vulnerability was found in networkd-dispatcher. This flaw exists because there is a certain time between the scripts being discovered and them being run. An attacker can abuse this vulnerability to replace scripts that networkd-dispatcher believes to be owned by root with ones that are not.

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

Name Vendor Start Version End Version
Windows_defender_for_endpoint Microsoft - (including) - (including)
Networkd-dispatcher Ubuntu bionic *
Networkd-dispatcher Ubuntu esm-infra/bionic *
Networkd-dispatcher Ubuntu esm-infra/focal *
Networkd-dispatcher Ubuntu focal *
Networkd-dispatcher Ubuntu impish *
Networkd-dispatcher Ubuntu jammy *
Networkd-dispatcher Ubuntu upstream *

Potential Mitigations

References