CVE-2024-2496
Libvirt: null pointer dereference in udevconnectlistallinterfaces()
Reported by redhat · Published March 18, 2024
A NULL pointer dereference flaw was found in the udevConnectListAllInterfaces() function in libvirt. This issue can occur when detaching a host interface while at the same time collecting the list of interfaces via virConnectListAllInterfaces API. This flaw could be used to perform a denial of service attack by causing the libvirt daemon to crash.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libvirt-docs | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-daemon-driver-secret | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-lock-sanlock | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-daemon-driver-storage | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-nss | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-daemon-driver-storage-mpath | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-daemon-driver-nwfilter | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt | gitlab.com | 9.7.0 |
| libvirt-login-shell | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-daemon-lxc | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-daemon-driver-network | Amazon Linux | 4.5.0-36.amzn2.3.1 |
| libvirt-daemon-config-nwfilter | Amazon Linux | 4.5.0-36.amzn2.3.1 |
21 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 9.0.0 | ||
| Red Hat | Red Hat Enterprise Linux 9 | 0:10.0.0-6.el9_4 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | |
| amazon:2 | libvirt-docs | 0 |
| amazon:2 | libvirt-daemon-driver-secret | 0 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| amazon:2 | libvirt-lock-sanlock | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| amazon:2 | libvirt-daemon-driver-storage | 0 |
| amazon:2 | libvirt-nss | 0 |
| amazon:2 | libvirt-daemon-driver-storage-mpath | 0 |
| amazon:2 | libvirt-daemon-driver-nwfilter | 0 |
| amazon:2 | libvirt-login-shell | 0 |
| amazon:2 | libvirt-daemon-lxc | 0 |
| amazon:2 | libvirt-daemon-driver-network | 0 |
| amazon:2 | libvirt-daemon-config-nwfilter | 0 |
| amazon:2 | libvirt-daemon-config-network | 0 |
…and 23 more
Timeline
- Mar 18, 2024 CVE Published
- Mar 18, 2024 PoC Published (2 in total, the first dated here)
- Mar 19, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (18 in total, the first dated here)
- Apr 29, 2026 Security Advisory (3 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (2 in total, the first dated here)
- Nov 5, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-2496
vulnetix vdb fixes CVE-2024-2496
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-2496/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2024:2236 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2269672 issue-trackingx_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html url