Alerts This Week
Warning Icon 1 631
Alerts This Week
Warning Icon 1 631

Ubuntu: 6851-1 High Severity: Netplan Command Injection Risk

Ubuntu Large Esm H500
Netplan could reveal secrets or execute commands with specially crafted configuration file.
==========================================================================
Ubuntu Security Notice USN-6851-1
June 26, 2024

netplan.io vulnerabilities
==========================================================================

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:

Netplan could reveal secrets or execute commands with specially crafted
configuration file.

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

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.1
  netplan-generator               1.0-2ubuntu1.1
  netplan.io                      1.0-2ubuntu1.1

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

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

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

After a standard system update you need to reboot your computer to make
all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-6851-1
  CVE-2022-4968, https://bugs.launchpad.net/netplan/+bug/1987842, https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2065738, 
Package Information:
  https://launchpad.net/ubuntu/+source/netplan.io/1.0-2ubuntu1.1
  https://launchpad.net/ubuntu/+source/netplan.io/0.107-5ubuntu0.3
  https://launchpad.net/ubuntu/+source/netplan.io/0.106.1-7ubuntu0.22.04.3
  https://launchpad.net/ubuntu/+source/netplan.io/0.104-0ubuntu2~20.04.5

Ubuntu: 6851-1 High Severity: Netplan Command Injection Risk

ubuntu
Calendar Grey June 26, 2024
Dist Ubuntu Esm H88
Uncover the Ubuntu 6851-1 announcement concerning netplan.io weaknesses and measures to prevent command execution vulnerabilities.
Netplan could reveal secrets or execute commands with specially crafted configuration file.

Summary

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: Netplan could reveal secrets or execute commands with specially crafted configuration file. Software Description: - netplan.io: Declarative network configuration for various backends 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.1 netplan-generator 1.0-2ubuntu1.1 netplan.io 1.0-2ubuntu1.1 Ubuntu 23.10 libnetplan0 0.107-5ubuntu0.3 netplan-generator 0.107-5ubuntu0.3 netplan.io 0.107-5ubuntu0.3 Ubuntu 22.04 LTS libnetplan0 0.106.1-7ubuntu0.22.04.3 netplan.io 0.106.1-7ubuntu0.22.04.3 Ubuntu 20.04 LTS libnetplan0 0.104-0ubuntu2~20.04.5 netplan.io 0.104-0ubuntu2~20.04.5 After a standard system update you need to reboot your computer to make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-6851-1

CVE-2022-4968, https://bugs.launchpad.net/netplan/+bug/1987842, https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2065738,

Ubuntu Security Notice USN-6851-1

Package Information

https://launchpad.net/ubuntu/+source/netplan.io/1.0-2ubuntu1.1 https://launchpad.net/ubuntu/+source/netplan.io/0.107-5ubuntu0.3 https://launchpad.net/ubuntu/+source/netplan.io/0.106.1-7ubuntu0.22.04.3 https://launchpad.net/ubuntu/+source/netplan.io/0.104-0ubuntu2~20.04.5

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here