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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.24% (16th 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 IDSNYK-ALPINE321-LIBVIRT-8487671
  • published6 Dec 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 Alpine:3.21 libvirt to version 10.7.0-r0 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 Alpine. See How to fix? for Alpine:3.21 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 Base Scores

version 3.1