6.2
MEDIUM CVSS 3.1
CVE-2024-8235
Libvirt: crash of virtinterfaced via virconnectlistinterfaces()
Description

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.

INFO

Published Date :

Aug. 30, 2024, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 9:52 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2024-8235 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat libvirt
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
Libvirt is vulnerable to a NULL pointer dereference; update the affected packages to resolve.
  • Update the affected libvirt packages.
  • Consult vendor guidance for specific update details.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-8235.

URL Resource
https://access.redhat.com/errata/RHSA-2024:9128
https://access.redhat.com/security/cve/CVE-2024-8235 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2308680 Issue Tracking Vendor Advisory
https://lists.libvirt.org/archives/list/[email protected]/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/ Patch Third Party Advisory
https://security.netapp.com/advisory/ntap-20240920-0006/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-8235 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-8235 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-8235 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-8235 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20240920-0006/
  • CVE Modified by [email protected]

    Nov. 12, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:9128 [No types assigned]
  • Initial Analysis by [email protected]

    Sep. 25, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2024-8235 No Types Assigned https://access.redhat.com/security/cve/CVE-2024-8235 Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2308680 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2308680 Issue Tracking, Vendor Advisory
    Changed Reference Type https://lists.libvirt.org/archives/list/[email protected]/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/ No Types Assigned https://lists.libvirt.org/archives/list/[email protected]/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/ Patch, Third Party Advisory
    Added CWE NIST CWE-476
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:* versions from (including) 10.4.0 up to (excluding) 10.7.0 OR cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • CVE Received by [email protected]

    Aug. 30, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2024-8235 [No types assigned]
    Added Reference Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2308680 [No types assigned]
    Added Reference Red Hat, Inc. https://lists.libvirt.org/archives/list/[email protected]/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/ [No types assigned]
    Added CWE Red Hat, Inc. CWE-476
    Added CVSS V3.1 Red Hat, Inc. AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.2
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact