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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Windows_defender_for_endpointMicrosoft- (including)- (including)
Networkd-dispatcherUbuntubionic*
Networkd-dispatcherUbuntuesm-infra/bionic*
Networkd-dispatcherUbuntuesm-infra/focal*
Networkd-dispatcherUbuntufocal*
Networkd-dispatcherUbuntuimpish*
Networkd-dispatcherUbuntujammy*
Networkd-dispatcherUbuntuupstream*

Potential Mitigations

References