CVE-2024-2496: Libvirt: null pointer dereference in udevconnectlistallinterfaces()

Published Mar 15, 2024
·
Updated

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.

Other sources

A NULL pointer dereference issue was found in libvirt in the udevConnectListAllInterfaces() function. It could occur when detaching a host interface while at the same time collecting the list of interfaces via virConnectListAllInterfaces API.

Upstream fix: https://gitlab.com/libvirt/libvirt/-/commit/2ca94317ac642a70921947150ced8acc674ccdc8

Red Hat

Libvirt: null pointer dereference in udevconnectlistallinterfaces()

Microsoft

Affected Software

8 affected componentsFixes available
ubuntu/libvirt<6.0.0-0ubuntu8.19
6.0.0-0ubuntu8.19
ubuntu/libvirt<8.0.0-1ubuntu7.10
8.0.0-1ubuntu7.10
ubuntu/libvirt<9.6.0-1ubuntu1.1
9.6.0-1ubuntu1.1
ubuntu/libvirt<9.8.0-1
9.8.0-1
redhat/libvirt<9.8.0
9.8.0
debian/libvirt<=5.0.0-4+deb10u1, <=7.0.0-3+deb11u2, <=9.0.0-4
5.0.0-4+deb10u210.2.0-110.3.0-1
Microsoft cbl2 libvirt 7.10.0-8
Microsoft cbl2 libvirt 7.10.0-10

Event History

Mar 18, 2024
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·12:54 PM
Data Sourced
via MITRE·12:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
May 1, 2024
Data Sourced
via Launchpad·06:02 PM
Description
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-2496?

CVE-2024-2496 is classified as a moderate severity vulnerability due to the potential for exploitation through NULL pointer dereference.

2

How do I fix CVE-2024-2496?

To fix CVE-2024-2496, upgrade to the affected libvirt versions listed as 6.0.0-0ubuntu8.19, 8.0.0-1ubuntu7.10, 9.6.0-1ubuntu1.1, or 9.8.0-1.

3

Which systems are affected by CVE-2024-2496?

CVE-2024-2496 affects specific versions of libvirt on Ubuntu, RedHat, and Debian systems.

4

What can happen if CVE-2024-2496 is exploited?

Exploitation of CVE-2024-2496 can lead to potential denial of service conditions by causing application crashes.

5

Is there a specific Mitigation for CVE-2024-2496?

The recommended mitigation for CVE-2024-2496 is to ensure that the affected versions of libvirt are updated immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203