NULL Pointer Dereference Affecting libvirt package, versions <10.7.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBVIRT-7855698
  • published31 Aug 2024
  • disclosed30 Aug 2024

Introduced: 30 Aug 2024

CVE-2024-8235  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libvirt to version 10.7.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt package and not the libvirt package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.

CVSS Scores

version 3.1