usn-6851-1
Vulnerability from osv_ubuntu
Published
2024-06-26 13:45
Modified
2026-04-27 14:11
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.


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-4968",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnetplan0",
            "binary_version": "0.104-0ubuntu2~20.04.5"
          },
          {
            "binary_name": "netplan.io",
            "binary_version": "0.104-0ubuntu2~20.04.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "netplan.io",
        "purl": "pkg:deb/ubuntu/netplan.io@0.104-0ubuntu2~20.04.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.104-0ubuntu2~20.04.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.98-0ubuntu1",
        "0.98-0ubuntu2",
        "0.98-0ubuntu3",
        "0.98-0ubuntu4",
        "0.99-0ubuntu1",
        "0.99-0ubuntu2",
        "0.99-0ubuntu3~20.04.1",
        "0.99-0ubuntu3~20.04.2",
        "0.100-0ubuntu4~20.04.2",
        "0.100-0ubuntu4~20.04.3",
        "0.101-0ubuntu3~20.04.2",
        "0.102-0ubuntu1~20.04.1",
        "0.102-0ubuntu1~20.04.2",
        "0.103-0ubuntu5~20.04.1",
        "0.103-0ubuntu5~20.04.2",
        "0.103-0ubuntu5~20.04.3",
        "0.103-0ubuntu5~20.04.5",
        "0.103-0ubuntu5~20.04.6",
        "0.104-0ubuntu2~20.04.1",
        "0.104-0ubuntu2~20.04.2",
        "0.104-0ubuntu2~20.04.4"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-4968",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnetplan0",
            "binary_version": "0.106.1-7ubuntu0.22.04.3"
          },
          {
            "binary_name": "netplan.io",
            "binary_version": "0.106.1-7ubuntu0.22.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "netplan.io",
        "purl": "pkg:deb/ubuntu/netplan.io@0.106.1-7ubuntu0.22.04.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.106.1-7ubuntu0.22.04.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.103-0ubuntu7",
        "0.103-0ubuntu8",
        "0.103-0ubuntu9",
        "0.103-0ubuntu10",
        "0.104-0ubuntu1",
        "0.104-0ubuntu2",
        "0.104-0ubuntu2.1",
        "0.105-0ubuntu2~22.04.1",
        "0.105-0ubuntu2~22.04.3",
        "0.106.1-7ubuntu0.22.04.2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-4968",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnetplan1",
            "binary_version": "1.0-2ubuntu1.1"
          },
          {
            "binary_name": "netplan-generator",
            "binary_version": "1.0-2ubuntu1.1"
          },
          {
            "binary_name": "netplan.io",
            "binary_version": "1.0-2ubuntu1.1"
          },
          {
            "binary_name": "python3-netplan",
            "binary_version": "1.0-2ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "netplan.io",
        "purl": "pkg:deb/ubuntu/netplan.io@1.0-2ubuntu1.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0-2ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.107-5",
        "0.107-5ubuntu1",
        "0.107-5ubuntu2",
        "0.107.1-3",
        "1.0-1",
        "1.0-2",
        "1.0-2build1",
        "1.0-2ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "Andreas Hasenack discovered that netplan incorrectly handled the permissions\nfor netdev files containing wireguard configuration. An attacker could use this to obtain\nwireguard secret keys.\n\nIt was discovered that netplan configuration could be manipulated into injecting\narbitrary commands while setting up network interfaces. An attacker could\nuse this to execute arbitrary commands or escalate privileges.\n",
  "id": "USN-6851-1",
  "modified": "2026-04-27T14:11:34Z",
  "published": "2024-06-26T13:45:31Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6851-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-4968"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/1987842"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/2065738"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/2066258"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "netplan.io vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2022-4968"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…