Addressing Netplan Regression Issues in Ubuntu via USN-6851-2 Update
Summary
A security issue affects these releases of Ubuntu and its derivatives: - Ubuntu 24.04 LTS - Ubuntu 23.10 - Ubuntu 22.04 LTS - Ubuntu 20.04 LTS Summary: USN-6851-1 caused systemctl enable to fail Software Description: - netplan.io: Declarative network configuration for various backends Details: USN-6851-1 fixed vulnerabilities in Netplan. The update lead to the discovery of a regression in netplan which caused systemctl enable to fail on systems without dbus. This update fixes the problem. We apologize for the inconvenience. Original advisory details: Andreas Hasenack discovered that netplan incorrectly handled the permissions for netdev files containing wireguard configuration. An attacker could use this to obtain wireguard secret keys. It was discovered that netplan configuration could be manipulated into injecting arbitrary commands while setting up network interfaces. An attacker could use this to execute arbitrary commands or escal...
Read the Full AdvisoryUpdate Instructions
The problem can be corrected by updating your system to the following package versions: Ubuntu 24.04 LTS libnetplan1 1.0-2ubuntu1.2 netplan-generator 1.0-2ubuntu1.2 netplan.io 1.0-2ubuntu1.2 Ubuntu 23.10 libnetplan0 0.107-5ubuntu0.4 netplan-generator 0.107-5ubuntu0.4 netplan.io 0.107-5ubuntu0.4 Ubuntu 22.04 LTS libnetplan0 0.106.1-7ubuntu0.22.04.4 netplan.io 0.106.1-7ubuntu0.22.04.4 Ubuntu 20.04 LTS libnetplan0 0.104-0ubuntu2~20.04.6 netplan.io 0.104-0ubuntu2~20.04.6 In general, a standard system update will make all the necessary changes.
References
https://ubuntu.com/security/notices/USN-6851-2
https://ubuntu.com/security/notices/USN-6851-1
https://launchpad.net/bugs/2071333
Package Information
https://launchpad.net/ubuntu/+source/netplan.io/1.0-2ubuntu1.2 https://launchpad.net/ubuntu/+source/netplan.io/0.107-5ubuntu0.4 https://launchpad.net/ubuntu/+source/netplan.io/0.106.1-7ubuntu0.22.04.4 https://launchpad.net/ubuntu/+source/netplan.io/0.104-0ubuntu2~20.04.6