CVE-2024-8235

Source
https://cve.org/CVERecord?id=CVE-2024-8235
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8235.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8235
Downstream
Related
Published
2024-08-30T16:16:57Z
Modified
2026-10-22T02:48:50Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Libvirt: crash of virtinterfaced via virconnectlistinterfaces()
Details

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.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-476"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8235.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0:10.5.0-7.el9_5"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "InverseAffectedRanges"
                }
            ]
        }
    ]
}
References

Affected packages

Git / gitlab.com/libvirt/libvirt

Affected ranges

Type
GIT
Repo
https://gitlab.com/libvirt/libvirt
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "10.4.0"
                },
                {
                    "fixed":  "10.7.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

Other
CVE-2024-8235
v10.*
v10.4.0
v10.5.0
v10.5.0-rc1
v10.5.0-rc2
v10.6.0
v10.6.0-rc1
v10.7.0-rc1
v10.7.0-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8235.json"