USN-6851-1

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

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-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: netplan.io - 0.104-0ubuntu2~20.04.5 libnetplan0 - 0.104-0ubuntu2~20.04.5 libnetplan-dev - 0.104-0ubuntu2~20.04.5 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T05:50:43.533Z UTC. Last updated 2025-11-26T08:24:56.502Z UTC.

Upstream Advisory

Affected Packages

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

  • libnetplan0 0.104-0ubuntu2~20.04.5-0.104-0ubuntu2~20.04.5

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

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

  • libnetplan0 0.106.1-7ubuntu0.22.04.3-0.106.1-7ubuntu0.22.04.3

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

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

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

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

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

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

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