CVE Vulnerabilities

CVE-2022-29800

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

Published: Sep 21, 2022 | Modified: Dec 21, 2022
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. This can cause the product to perform invalid actions when the resource is in an unexpected state.

Affected Software

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

Potential Mitigations

References