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

18 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
Microsoft cbl2 libvirt 7.10.0-8
Microsoft cbl2 libvirt 7.10.0-10
debian/libvirt<9.0.0-4+deb12u1
9.0.0-4+deb12u1
debian/libvirt<9.8.0-1
9.8.0-1
debian/libvirt<9.8.0-1
9.8.0-1
debian/libvirt
9.0.0-4+deb12u211.3.0-3+deb13u312.8.0-1
redhat libvirt<9.8.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Debian Debian Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libvirt to a version that resolves this vulnerability.

    Fixed in 6.0.0-0ubuntu8.19
  2. Upgrade

    Upgrade ubuntu/libvirt to a version that resolves this vulnerability.

    Fixed in 8.0.0-1ubuntu7.10
  3. Upgrade

    Upgrade ubuntu/libvirt to a version that resolves this vulnerability.

    Fixed in 9.6.0-1ubuntu1.1
  4. Upgrade

    Upgrade ubuntu/libvirt to a version that resolves this vulnerability.

    Fixed in 9.8.0-1
  5. Upgrade

    Upgrade redhat/libvirt to a version that resolves this vulnerability.

    Fixed in 9.8.0
  6. Upgrade

    Upgrade debian/libvirt to a version that resolves this vulnerability.

    Fixed in 9.0.0-4+deb12u1
  7. Upgrade

    Upgrade debian/libvirt to a version that resolves this vulnerability.

    Fixed in 9.8.0-1
  8. Upgrade

    Upgrade debian/libvirt to a version that resolves this vulnerability.

    Fixed in 9.0.0-4+deb12u2Fixed in 11.3.0-3+deb13u3Fixed in 12.8.0-1
  9. Upgrade

    Upgrade libvirt to a version that resolves this vulnerability.

    Patch 2ca94317ac642a70921947150ced8acc674ccdc8

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
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 PM
Affected Software
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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