OESA-2024-1743 (CVE-2024-4418)
Vulnerability from osv_openeuler – Published: 2024-06-21 11:07 – Updated: 2026-08-06 11:07 – Source websiteLibvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The main package includes the libvirtd server exporting the virtualization support.
Security Fix(es):
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.(CVE-2024-4418)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"libvirt-debuginfo-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-config-nwfilter-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-qemu-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-interface-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-debugsource-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-iscsi-direct-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-devel-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-nss-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-plugin-sanlock-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-wireshark-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-nodedev-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-lock-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-disk-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-gluster-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-libs-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-core-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-network-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-nwfilter-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-config-network-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-log-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-client-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-secret-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-proxy-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-docs-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-plugin-lockd-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-kvm-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-common-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-iscsi-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-mpath-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-rbd-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-qemu-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-scsi-9.10.0-11.oe2403.aarch64.rpm",
"libvirt-daemon-driver-storage-logical-9.10.0-11.oe2403.aarch64.rpm"
],
"src": [
"libvirt-9.10.0-11.oe2403.src.rpm"
],
"x86_64": [
"libvirt-daemon-plugin-lockd-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-secret-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-config-network-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-libs-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-debuginfo-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-log-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-iscsi-direct-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-nwfilter-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-network-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-client-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-logical-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-iscsi-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-mpath-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-nodedev-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-proxy-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-debugsource-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-lock-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-common-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-qemu-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-config-nwfilter-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-scsi-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-qemu-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-interface-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-rbd-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-gluster-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-kvm-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-core-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-devel-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-wireshark-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-plugin-sanlock-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-daemon-driver-storage-disk-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-docs-9.10.0-11.oe2403.x86_64.rpm",
"libvirt-nss-9.10.0-11.oe2403.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS",
"name": "libvirt",
"purl": "pkg:rpm/openEuler/libvirt\u0026distro=openEuler-24.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "9.10.0-11.oe2403"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Medium"
},
"details": "Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The main package includes the libvirtd server exporting the virtualization support.\r\n\r\nSecurity Fix(es):\r\n\r\nA 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\u0026apos;s stack frame was concurrently being \u0026quot;freed\u0026quot; when returning from virNetClientIOEventLoop(). The \u0026apos;virtproxyd\u0026apos; 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.(CVE-2024-4418)",
"id": "OESA-2024-1743",
"modified": "2026-08-06T11:07:12Z",
"published": "2024-06-21T11:07:12Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1743"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-4418"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "libvirt security update",
"upstream": [
"CVE-2024-4418"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.