USN-6851-2

Type: Security
Severity: None
Published: 2024-06-28
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 24.04 LTS (Noble Numbat)

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. Update Instructions: Run `sudo pro fix USN-6851-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: netplan.io - 0.106.1-7ubuntu0.22.04.4 libnetplan0 - 0.106.1-7ubuntu0.22.04.4 libnetplan-dev - 0.106.1-7ubuntu0.22.04.4 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:25:10.974Z UTC.

Upstream Advisory

Affected Packages

  • netplan.io 0.106.1-7ubuntu0.22.04.4-0.106.1-7ubuntu0.22.04.4

  • libnetplan0 0.106.1-7ubuntu0.22.04.4-0.106.1-7ubuntu0.22.04.4

  • libnetplan-dev 0.106.1-7ubuntu0.22.04.4-0.106.1-7ubuntu0.22.04.4

  • netplan.io 0.104-0ubuntu2~20.04.6-0.104-0ubuntu2~20.04.6

  • libnetplan0 0.104-0ubuntu2~20.04.6-0.104-0ubuntu2~20.04.6

  • libnetplan-dev 0.104-0ubuntu2~20.04.6-0.104-0ubuntu2~20.04.6

  • netplan.io 1.0-2ubuntu1.2-1.0-2ubuntu1.2

  • netplan-generator 1.0-2ubuntu1.2-1.0-2ubuntu1.2

  • libnetplan1 1.0-2ubuntu1.2-1.0-2ubuntu1.2

  • python3-netplan 1.0-2ubuntu1.2-1.0-2ubuntu1.2

  • libnetplan-dev 1.0-2ubuntu1.2-1.0-2ubuntu1.2

Interested in being alerted when there are new versions of netplan.io and the other packages? Set up an alert.
USN-6851-2: Netplan regression | Package Alert