Time-of-check Time-of-use (TOCTOU) Affecting networkd-dispatcher package, versions <2.1-2ubuntu0.22.04.1


Severity

Recommended
high

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.91% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-NETWORKDDISPATCHER-2804359
  • published27 Apr 2022
  • disclosed21 Sept 2022

Introduced: 27 Apr 2022

CVE-2022-29800  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 networkd-dispatcher to version 2.1-2ubuntu0.22.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream networkd-dispatcher package and not the networkd-dispatcher package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1