Time-of-check Time-of-use (TOCTOU) Race Condition in networkd-dispatcher - CVE-2022-29800

 

Time-of-check Time-of-use (TOCTOU) Race Condition in networkd-dispatcher - CVE-2022-29800

Published: April 28, 2022


Vulnerability identifier: #VU62690
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-29800
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: clayton craft
Affected software:
networkd-dispatcher

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a race condition between the scripts being discovered and them being run. An local user can abuse this vulnerability to replace scripts that networkd-dispatcher believes to be owned by root to ones that are not. Along with vulnerability #VU62689 (CVE-2022-29799) this allows privilege escalation by overwriting arbitrary files on the system.


How to mitigate CVE-2022-29800

Install updates from vendor's website.

Sources