UBUNTU-CVE-2024-8235

Source
https://ubuntu.com/security/CVE-2024-8235
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8235.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-8235
Related
Published
2024-08-30T17:15:00Z
Modified
2024-11-20T12:28:14Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.

References

Affected packages

Ubuntu:20.04:LTS / libvirt

Package

Name
libvirt
Purl
pkg:deb/ubuntu/libvirt?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.0-0ubuntu8.20

Affected versions

5.*

5.4.0-0ubuntu5

6.*

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
6.0.0-0ubuntu8.16
6.0.0-0ubuntu8.19

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libnss-libvirt"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libnss-libvirt-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-clients"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-clients-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-lxc"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-lxc-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-qemu"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-qemu-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-storage-gluster"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-storage-gluster-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-storage-rbd"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-storage-rbd-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-storage-zfs"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-storage-zfs-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-vbox"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-vbox-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-xen"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-driver-xen-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-system"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-system-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-system-systemd"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-daemon-system-sysv"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-dev"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-doc"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-sanlock"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-sanlock-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-wireshark"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt-wireshark-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt0"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.20",
            "binary_name": "libvirt0-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / libvirt

Package

Name
libvirt
Purl
pkg:deb/ubuntu/libvirt?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.0-1ubuntu7.10

Affected versions

7.*

7.6.0-0ubuntu1
7.6.0-0ubuntu3

8.*

8.0.0-1ubuntu3
8.0.0-1ubuntu4
8.0.0-1ubuntu5
8.0.0-1ubuntu6
8.0.0-1ubuntu7
8.0.0-1ubuntu7.1
8.0.0-1ubuntu7.2
8.0.0-1ubuntu7.3
8.0.0-1ubuntu7.4
8.0.0-1ubuntu7.5
8.0.0-1ubuntu7.6
8.0.0-1ubuntu7.7
8.0.0-1ubuntu7.8
8.0.0-1ubuntu7.9

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libnss-libvirt"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libnss-libvirt-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-clients"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-clients-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-config-network"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-config-nwfilter"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-lxc"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-lxc-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-qemu"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-qemu-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-gluster"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-gluster-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-iscsi-direct"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-iscsi-direct-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-rbd"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-rbd-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-zfs"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-storage-zfs-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-vbox"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-vbox-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-xen"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-driver-xen-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-system"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-system-systemd"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-daemon-system-sysv"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-dev"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-doc"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-login-shell"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-login-shell-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-sanlock"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-sanlock-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-wireshark"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt-wireshark-dbgsym"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt0"
        },
        {
            "binary_version": "8.0.0-1ubuntu7.10",
            "binary_name": "libvirt0-dbgsym"
        }
    ]
}

Ubuntu:24.10 / libvirt

Package

Name
libvirt
Purl
pkg:deb/ubuntu/libvirt?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.6.0-1ubuntu3

Affected versions

10.*

10.0.0-2ubuntu8
10.0.0-2ubuntu8.2
10.0.0-2ubuntu9
10.5.0-1ubuntu1
10.6.0-1ubuntu1
10.6.0-1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libnss-libvirt"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libnss-libvirt-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-clients"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-clients-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-clients-qemu"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-config-network"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-config-nwfilter"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-lxc"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-lxc-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-qemu"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-qemu-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-gluster"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-gluster-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-iscsi-direct"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-iscsi-direct-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-rbd"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-rbd-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-zfs"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-storage-zfs-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-vbox"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-vbox-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-xen"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-driver-xen-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-system"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-system-systemd"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-daemon-system-sysv"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-dev"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-doc"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-l10n"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-login-shell"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-login-shell-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-sanlock"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-sanlock-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-wireshark"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt-wireshark-dbgsym"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt0"
        },
        {
            "binary_version": "10.6.0-1ubuntu3",
            "binary_name": "libvirt0-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / libvirt

Package

Name
libvirt
Purl
pkg:deb/ubuntu/libvirt?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.0.0-2ubuntu8.3

Affected versions

9.*

9.6.0-1ubuntu1
9.6.0-1ubuntu2

10.*

10.0.0-1ubuntu1
10.0.0-2ubuntu1
10.0.0-2ubuntu5
10.0.0-2ubuntu7
10.0.0-2ubuntu8
10.0.0-2ubuntu8.1
10.0.0-2ubuntu8.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libnss-libvirt"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libnss-libvirt-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-clients"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-clients-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-clients-qemu"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-config-network"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-config-nwfilter"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-lxc"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-lxc-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-qemu"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-qemu-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-gluster"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-gluster-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-iscsi-direct"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-iscsi-direct-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-rbd"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-rbd-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-zfs"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-storage-zfs-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-vbox"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-vbox-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-xen"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-driver-xen-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-system"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-system-systemd"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-daemon-system-sysv"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-dev"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-doc"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-l10n"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-login-shell"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-login-shell-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-sanlock"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-sanlock-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-wireshark"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt-wireshark-dbgsym"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt0"
        },
        {
            "binary_version": "10.0.0-2ubuntu8.3",
            "binary_name": "libvirt0-dbgsym"
        }
    ]
}