First published: Fri Jun 28 2024(Updated: )
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 where systemd is not running. 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 escalate privileges.
Affected Software | Affected Version | How to fix |
---|---|---|
All of | ||
ubuntu/libnetplan1 | <1.0-2ubuntu1.2 | 1.0-2ubuntu1.2 |
Ubuntu | =24.04 | |
All of | ||
ubuntu/netplan-generator | <1.0-2ubuntu1.2 | 1.0-2ubuntu1.2 |
Ubuntu | =24.04 | |
All of | ||
ubuntu/netplan.io | <1.0-2ubuntu1.2 | 1.0-2ubuntu1.2 |
Ubuntu | =24.04 | |
All of | ||
ubuntu/libnetplan0 | <0.107-5ubuntu0.4 | 0.107-5ubuntu0.4 |
Ubuntu | =23.10 | |
All of | ||
ubuntu/netplan-generator | <0.107-5ubuntu0.4 | 0.107-5ubuntu0.4 |
Ubuntu | =23.10 | |
All of | ||
ubuntu/netplan.io | <0.107-5ubuntu0.4 | 0.107-5ubuntu0.4 |
Ubuntu | =23.10 | |
All of | ||
ubuntu/libnetplan0 | <0.106.1-7ubuntu0.22.04.4 | 0.106.1-7ubuntu0.22.04.4 |
Ubuntu | =22.04 | |
All of | ||
ubuntu/netplan.io | <0.106.1-7ubuntu0.22.04.4 | 0.106.1-7ubuntu0.22.04.4 |
Ubuntu | =22.04 | |
All of | ||
ubuntu/libnetplan0 | <0.104-0ubuntu2~20.04.6 | 0.104-0ubuntu2~20.04.6 |
Ubuntu | =20.04 | |
All of | ||
ubuntu/netplan.io | <0.104-0ubuntu2~20.04.6 | 0.104-0ubuntu2~20.04.6 |
Ubuntu | =20.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of USN-6851-2 is categorized as a medium severity issue due to the regression affecting systemctl enable functionality.
To fix USN-6851-2, update the affected packages to the versions specified in the advisory.
USN-6851-2 affects Ubuntu 24.04, 23.10, and 22.04 among other versions.
USN-6851-2 impacts the libnetplan1, netplan-generator, and netplan.io packages.
There is no official workaround for USN-6851-2; updating the packages is the recommended solution.