usn-5399-1
Vulnerability from osv_ubuntu
Published
2022-05-02 17:01
Modified
2026-04-27 14:11
Summary
libvirt vulnerabilities
Details

It was discovered that libvirt incorrectly handled certain locking operations. A local attacker could possibly use this issue to cause libvirt to stop accepting connections, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-3667)

It was discovered that libvirt incorrectly handled threads during shutdown. A local attacker could possibly use this issue to cause libvirt to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-3975)

It was discovered that libvirt incorrectly handled the libxl driver. An attacker inside a guest could possibly use this issue to cause libvirtd to crash or stop responding, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 21.10. (CVE-2021-4147)

It was discovered that libvirt incorrectly handled the nwfilter driver. A local attacker could possibly use this issue to cause libvirt to crash, resulting in a denial of service. (CVE-2022-0897)

It was discovered that libvirt incorrectly handled the polkit access control driver. A local attacker could possibly use this issue to cause libvirt to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-25637)

It was discovered that libvirt incorrectly generated SELinux labels. In environments using SELinux, this issue could allow the sVirt confinement to be bypassed. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-3631)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-25637",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3631",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3975",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-4147",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-0897",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnss-libvirt",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-bin",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-clients",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-daemon",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-daemon-driver-storage-gluster",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-daemon-driver-storage-rbd",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-daemon-driver-storage-sheepdog",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-daemon-driver-storage-zfs",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-daemon-system",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-sanlock",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt-wireshark",
            "binary_version": "4.0.0-1ubuntu8.21"
          },
          {
            "binary_name": "libvirt0",
            "binary_version": "4.0.0-1ubuntu8.21"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "libvirt",
        "purl": "pkg:deb/ubuntu/libvirt@4.0.0-1ubuntu8.21?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.0.0-1ubuntu8.21"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.6.0-1ubuntu5",
        "3.6.0-1ubuntu6",
        "4.0.0-1ubuntu1",
        "4.0.0-1ubuntu2",
        "4.0.0-1ubuntu3",
        "4.0.0-1ubuntu4",
        "4.0.0-1ubuntu5",
        "4.0.0-1ubuntu6",
        "4.0.0-1ubuntu7",
        "4.0.0-1ubuntu8",
        "4.0.0-1ubuntu8.1",
        "4.0.0-1ubuntu8.2",
        "4.0.0-1ubuntu8.3",
        "4.0.0-1ubuntu8.4",
        "4.0.0-1ubuntu8.5",
        "4.0.0-1ubuntu8.6",
        "4.0.0-1ubuntu8.7",
        "4.0.0-1ubuntu8.8",
        "4.0.0-1ubuntu8.9",
        "4.0.0-1ubuntu8.10",
        "4.0.0-1ubuntu8.11",
        "4.0.0-1ubuntu8.12",
        "4.0.0-1ubuntu8.13",
        "4.0.0-1ubuntu8.14",
        "4.0.0-1ubuntu8.15",
        "4.0.0-1ubuntu8.16",
        "4.0.0-1ubuntu8.17",
        "4.0.0-1ubuntu8.19",
        "4.0.0-1ubuntu8.20"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-25637",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3631",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3667",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3975",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-4147",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-0897",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnss-libvirt",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-clients",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-driver-lxc",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-driver-qemu",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-driver-storage-gluster",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-driver-storage-rbd",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-driver-storage-zfs",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-driver-vbox",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-driver-xen",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-system",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-system-systemd",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-daemon-system-sysv",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-sanlock",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt-wireshark",
            "binary_version": "6.0.0-0ubuntu8.16"
          },
          {
            "binary_name": "libvirt0",
            "binary_version": "6.0.0-0ubuntu8.16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "libvirt",
        "purl": "pkg:deb/ubuntu/libvirt@6.0.0-0ubuntu8.16?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.0.0-0ubuntu8.16"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.4.0-0ubuntu5",
        "6.0.0-0ubuntu1",
        "6.0.0-0ubuntu2",
        "6.0.0-0ubuntu3",
        "6.0.0-0ubuntu4",
        "6.0.0-0ubuntu5",
        "6.0.0-0ubuntu6",
        "6.0.0-0ubuntu7",
        "6.0.0-0ubuntu8",
        "6.0.0-0ubuntu8.1",
        "6.0.0-0ubuntu8.2",
        "6.0.0-0ubuntu8.3",
        "6.0.0-0ubuntu8.4",
        "6.0.0-0ubuntu8.5",
        "6.0.0-0ubuntu8.7",
        "6.0.0-0ubuntu8.8",
        "6.0.0-0ubuntu8.9",
        "6.0.0-0ubuntu8.10",
        "6.0.0-0ubuntu8.11",
        "6.0.0-0ubuntu8.12",
        "6.0.0-0ubuntu8.13",
        "6.0.0-0ubuntu8.14",
        "6.0.0-0ubuntu8.15"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that libvirt incorrectly handled certain locking\noperations. A local attacker could possibly use this issue to cause libvirt\nto stop accepting connections, resulting in a denial of service. This issue\nonly affected Ubuntu 20.04 LTS. (CVE-2021-3667)\n\nIt was discovered that libvirt incorrectly handled threads during shutdown.\nA local attacker could possibly use this issue to cause libvirt to crash,\nresulting in a denial of service. This issue only affected Ubuntu 18.04 LTS\nand Ubuntu 20.04 LTS. (CVE-2021-3975)\n\nIt was discovered that libvirt incorrectly handled the libxl driver. An\nattacker inside a guest could possibly use this issue to cause libvirtd\nto crash or stop responding, resulting in a denial of service. This issue\nonly affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 21.10.\n(CVE-2021-4147)\n\nIt was discovered that libvirt incorrectly handled the nwfilter driver. A\nlocal attacker could possibly use this issue to cause libvirt to crash,\nresulting in a denial of service. (CVE-2022-0897)\n\nIt was discovered that libvirt incorrectly handled the polkit access\ncontrol driver. A local attacker could possibly use this issue to cause\nlibvirt to crash, resulting in a denial of service. This issue only\naffected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-25637)\n\nIt was discovered that libvirt incorrectly generated SELinux labels. In\nenvironments using SELinux, this issue could allow the sVirt confinement\nto be bypassed. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04\nLTS. (CVE-2021-3631)\n",
  "id": "USN-5399-1",
  "modified": "2026-04-27T14:11:28Z",
  "published": "2022-05-02T17:01:25Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5399-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-25637"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-3631"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-3667"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-3975"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-4147"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-0897"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "libvirt vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2020-25637",
    "UBUNTU-CVE-2021-3631",
    "UBUNTU-CVE-2021-3667",
    "UBUNTU-CVE-2021-3975",
    "UBUNTU-CVE-2021-4147",
    "UBUNTU-CVE-2022-0897"
  ]
}



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…

Loading…