USN-6851-2: Netplan regression

Published 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 Software

20 affected componentsFixes available
All of the following
ubuntu/libnetplan1<1.0-2ubuntu1.2
1.0-2ubuntu1.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/netplan-generator<1.0-2ubuntu1.2
1.0-2ubuntu1.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/netplan.io<1.0-2ubuntu1.2
1.0-2ubuntu1.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libnetplan0<0.107-5ubuntu0.4
0.107-5ubuntu0.4
Ubuntu Ubuntu=23.10
All of the following
ubuntu/netplan-generator<0.107-5ubuntu0.4
0.107-5ubuntu0.4
Ubuntu Ubuntu=23.10
All of the following
ubuntu/netplan.io<0.107-5ubuntu0.4
0.107-5ubuntu0.4
Ubuntu Ubuntu=23.10
All of the following
ubuntu/libnetplan0<0.106.1-7ubuntu0.22.04.4
0.106.1-7ubuntu0.22.04.4
Ubuntu Ubuntu=22.04
All of the following
ubuntu/netplan.io<0.106.1-7ubuntu0.22.04.4
0.106.1-7ubuntu0.22.04.4
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libnetplan0<0.104-0ubuntu2~20.04.6
0.104-0ubuntu2~20.04.6
Ubuntu Ubuntu=20.04
All of the following
ubuntu/netplan.io<0.104-0ubuntu2~20.04.6
0.104-0ubuntu2~20.04.6
Ubuntu Ubuntu=20.04

Event History

Jun 28, 2024
Advisory Published
via Ubuntu·12:00 AM

Frequently Asked Questions

1

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.

2

How do I fix USN-6851-2?

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

3

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

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

4

What components are impacted by USN-6851-2?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203