Advisory Published

USN-6851-2: Netplan regression

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of USN-6851-2?

    The severity of USN-6851-2 is categorized as a medium severity issue due to the regression affecting systemctl enable functionality.

  • How do I fix USN-6851-2?

    To fix USN-6851-2, update the affected packages to the versions specified in the advisory.

  • Which Ubuntu versions are affected by USN-6851-2?

    USN-6851-2 affects Ubuntu 24.04, 23.10, and 22.04 among other versions.

  • What components are impacted by USN-6851-2?

    USN-6851-2 impacts the libnetplan1, netplan-generator, and netplan.io packages.

  • Is there a workaround for the issues in USN-6851-2?

    There is no official workaround for USN-6851-2; updating the packages is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203