Advisory

USN-6851-1

Also known as: CVE-2022-4968

Summary

netplan.io vulnerabilities

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.

Severity

Not rated by the source.

Dates

Published
2024-06-26 13:45 UTC
Modified
2026-04-27 17:17 UTC

Affected packages and fixes

netplan.io

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.104-0ubuntu2~20.04.5 (ecosystem)

Fixed versions

0.104-0ubuntu2~20.04.5

Fix

  • Fixed version 0.104-0ubuntu2~20.04.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

netplan.io

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.106.1-7ubuntu0.22.04.3 (ecosystem)

Fixed versions

0.106.1-7ubuntu0.22.04.3

Fix

  • Fixed version 0.106.1-7ubuntu0.22.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

netplan.io

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.0-2ubuntu1.1 (ecosystem)

Fixed versions

1.0-2ubuntu1.1

Fix

  • Fixed version 1.0-2ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences