UBUNTU-CVE-2024-4418

Source
https://ubuntu.com/security/CVE-2024-4418
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-4418.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-4418
Related
Published
2024-05-05T00:00:00Z
Modified
2024-11-20T12:28:05Z
Summary
[none]
Details

A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the data pointer to a stack-allocated virNetClientIOEventData structure ended up being used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop(). The 'virtproxyd' daemon can be used to trigger requests. If libvirt is configured with fine-grained access control, this issue, in theory, allows a user to escape their otherwise limited access. This flaw allows a local, unprivileged user to access virtproxyd without authenticating. Remote users would need to authenticate before they could access it.

References

Affected packages

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.0.0-2ubuntu8.2

Affected versions

10.*

10.0.0-2ubuntu8

Ecosystem specific

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

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

Ecosystem specific

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