[USN-6851-2] Netplan regression

Sudhakar Verma sudhakar.verma at canonical.com
Tue Jul 2 09:53:28 UTC 2024


==========================================================================
Ubuntu Security Notice USN-6851-2
June 28, 2024

netplan.io regression
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.04 LTS
- Ubuntu 23.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS

Summary:

USN-6851-1 caused systemctl enable to fail

Software Description:
- netplan.io: Declarative network configuration for various backends

Details:

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 
without
dbus. 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:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
   libnetplan1                     1.0-2ubuntu1.2
   netplan-generator               1.0-2ubuntu1.2
   netplan.io                      1.0-2ubuntu1.2

Ubuntu 23.10
   libnetplan0                     0.107-5ubuntu0.4
   netplan-generator               0.107-5ubuntu0.4
   netplan.io                      0.107-5ubuntu0.4

Ubuntu 22.04 LTS
   libnetplan0                     0.106.1-7ubuntu0.22.04.4
   netplan.io                      0.106.1-7ubuntu0.22.04.4

Ubuntu 20.04 LTS
   libnetplan0                     0.104-0ubuntu2~20.04.6
   netplan.io                      0.104-0ubuntu2~20.04.6

In general, a standard system update will make all the necessary changes.

References:
   https://ubuntu.com/security/notices/USN-6851-2
   https://ubuntu.com/security/notices/USN-6851-1
   https://launchpad.net/bugs/2071333

Package Information:
   https://launchpad.net/ubuntu/+source/netplan.io/1.0-2ubuntu1.2
   https://launchpad.net/ubuntu/+source/netplan.io/0.107-5ubuntu0.4
   https://launchpad.net/ubuntu/+source/netplan.io/0.106.1-7ubuntu0.22.04.4
   https://launchpad.net/ubuntu/+source/netplan.io/0.104-0ubuntu2~20.04.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20240702/460da58c/attachment-0001.sig>


More information about the ubuntu-security-announce mailing list