Time-of-check Time-of-use (TOCTOU) Affecting networkd-dispatcher package, versions <1.7-0ubuntu3.4


Severity

Recommended
high

Based on Ubuntu security rating.

Threat Intelligence

EPSS
7.57% (95th 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-UBUNTU1804-NETWORKDDISPATCHER-2804360
  • 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:18.04 networkd-dispatcher to version 1.7-0ubuntu3.4 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:18.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