[USN-5395-2] networkd-dispatcher regression

========================================================================== Ubuntu Security Notice USN-5395-2 May 04, 2022
networkd-dispatcher regression ==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
– Ubuntu 22.04 LTS – Ubuntu 21.10 – Ubuntu 20.04 LTS – Ubuntu 18.04 LTS
USN-5395-1 introduced a regression in networkd-dispatcher.
Software Description: – networkd-dispatcher: Dispatcher service for systemd-networkd connection status changes
USN-5395-1 fixed vulnerabilities in networkd-dispatcher. Unfortunately that update was incomplete and could introduce a regression. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that networkd-dispatcher incorrectly handled internal scripts. A local attacker could possibly use this issue to cause a race condition, escalate privileges and execute arbitrary code. (CVE-2022-29799, CVE-2022-29800)
Update instructions:
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.04 LTS: networkd-dispatcher 2.1-2ubuntu0.22.04.2
Ubuntu 21.10: networkd-dispatcher 2.1-2ubuntu0.21.10.2
Ubuntu 20.04 LTS: networkd-dispatcher 2.1-2~ubuntu20.04.3
Ubuntu 18.04 LTS: networkd-dispatcher 1.7-0ubuntu3.5
In general, a standard system update will make all the necessary changes.
References: ubuntu.com/security/notices/USN-5395-2 ubuntu.com/security/notices/USN-5395-1 launchpad.net/bugs/1971550
Package Information:
launchpad.net/ubuntu/+source/networkd-dispatcher/2.1-2~ubuntu20.04.3 launchpad.net/ubuntu/+source/networkd-dispatcher/1.7-0ubuntu3.5