USN-6851-1: Netplan vulnerabilities
26 June 2024
Netplan could reveal secrets or execute commands with specially crafted configuration file.
Releases
Packages
- netplan.io - YAML network configuration abstraction for various backends
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.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
Ubuntu 23.10
Ubuntu 22.04
Ubuntu 20.04
After a standard system update you need to reboot your computer to make
all the necessary changes.