{"id":"CVE-2022-29800","aliases":["DEBIAN-CVE-2022-29800","EUVD-2022-34121","GHSA-37cj-9g83-7692","UBUNTU-CVE-2022-29800","USN-5395-1"],"status":"published","title":"A time-of-check-time-of-use (TOCTOU) race condition vulnerability was found in networkd...","description":"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.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.07162,"percentile":0.94327,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-367"],"published":"2022-04-27T00:00:00Z","modified":"2026-11-03T08:00:44Z","exploits":[{"source":"pocgithub","id":"ngtuonghung/nimbuspwn-CVE-2022-29800-CVE-2022-29799","title":"ngtuonghung/nimbuspwn-CVE-2022-29800-CVE-2022-29799","date":"2025-11-09","url":"https://github.com/ngtuonghung/nimbuspwn-CVE-2022-29800-CVE-2022-29799"}],"fixes":[{"ecosystem":"Debian:12","package":"networkd-dispatcher","fixed_in":["2.2.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"networkd-dispatcher","fixed_in":["2.2.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"networkd-dispatcher","fixed_in":["2.2.3-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"networkd-dispatcher","fixed_in":["1.7-0ubuntu3.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"networkd-dispatcher","fixed_in":["2.1-2~ubuntu20.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"networkd-dispatcher","fixed_in":["2.1-2ubuntu0.22.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7-0ubuntu3.4"}]}],"versions":["1.7-0ubuntu1","1.7-0ubuntu2","1.7-0ubuntu3","1.7-0ubuntu3.2","1.7-0ubuntu3.3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1-2~ubuntu20.04.2"}]}],"versions":["2.0.1-1","2.1-2~ubuntu20.04.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1-2ubuntu0.22.04.1"}]}],"versions":["2.1-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7-0ubuntu3.4"}]}],"versions":["1.7-0ubuntu1","1.7-0ubuntu2","1.7-0ubuntu3","1.7-0ubuntu3.2","1.7-0ubuntu3.3"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1-2~ubuntu20.04.2"}]}],"versions":["2.0.1-1","2.1-2~ubuntu20.04.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"networkd-dispatcher","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1-2ubuntu0.22.04.1"}]}],"versions":["2.1-2"],"bundled":2}],"products":[{"vendor":"microsoft","product":"windows_defender_for_endpoint"}],"references":[{"url":"https://www.microsoft.com/security/blog/2022/04/26/microsoft-finds-new-elevation-of-privilege-linux-vulnerability-nimbuspwn/","tags":["x_refsource_MISC","x_transferred","Exploit","Technical Description","Vendor Advisory","advisory","article","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29800"},{"url":"https://www.microsoft.com/security/blog/2022/04/26/microsoft-finds-new-elevation-of-privilege-linux-vulnerability-nimbuspwn"},{"url":"https://github.com/advisories/GHSA-37cj-9g83-7692"},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-29800","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-29800","tags":["report"]},{"url":"https://www.helpnetsecurity.com/2022/04/27/cve-2022-29799-cve-2022-29800/","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5395-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29800","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-29799","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-29800","description":"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.","status":"published","published":"2022-09-21T18:21:17Z","modified":"2025-05-28T13:53:14.312Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T14:34:36.270817Z"}],"euvd":[{"id":"EUVD-2022-34121","description":"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.","status":"published","published":"2022-09-21T18:21:17Z","modified":"2025-05-28T13:53:14Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:37.456975Z"}],"ghsa":[{"id":"GHSA-37cj-9g83-7692","title":"A time-of-check-time-of-use (TOCTOU) race condition vulnerability was found in networkd...","description":"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.","status":"published","published":"2022-09-22T00:00:23Z","modified":"2025-05-28T15:34:55Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T15:02:27.916753Z"}],"nvd":[{"id":"CVE-2022-29800","description":"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.","status":"published","published":"2022-09-21T19:15:10.527Z","modified":"2026-06-17T04:40:44.26Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T14:07:28.501364Z"}],"osv":[{"id":"CVE-2022-29800","description":"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.","status":"published","published":"2022-09-21T19:15:10Z","modified":"2026-04-10T04:47:22.239559Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:25.164673Z"},{"id":"DEBIAN-CVE-2022-29800","description":"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.","status":"published","published":"2022-09-21T19:15:10.527Z","modified":"2026-11-03T08:00:44.192077353Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T08:25:15.646766Z"},{"id":"UBUNTU-CVE-2022-29800","description":"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.","status":"published","published":"2022-04-27T00:00:00Z","modified":"2026-02-04T03:01:37.972376Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"USN-5395-1","title":"networkd-dispatcher vulnerabilities","description":"It was discovered that networkd-dispatcher incorrectly handled internal\nscripts. A local attacker could possibly use this issue to cause a race\ncondition, escalate privileges and execute arbitrary code.\n(CVE-2022-29799, CVE-2022-29800)\n","status":"published","published":"2022-04-28T16:16:19Z","modified":"2026-02-10T04:42:35Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
