CVE-2024-8176

Libexpat: expat: improper restriction of xml entity expansion depth in libexpat

HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 1.35 % · percentile 71 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

Description

A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · secalert@redhat.com (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
libexpataffected 0 < 2.7.0
Red Hat · Red Hat Enterprise Linux 10unaffected 0:2.7.1-1.el10_0 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:2.2.5-17.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:1.51.0-11.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Supportunaffected 0:2.2.10-1.el8_2 < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Supportunaffected 0:1.51.0-5.el8_2.2 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:2.2.10-1.el8_4 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:1.51.0-5.el8_4.2 < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:2.2.10-1.el8_4 < *
Red Hat · Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceunaffected 0:1.51.0-5.el8_4.2 < *
Red Hat · Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsunaffected 0:1.51.0-5.el8_4.2 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:2.2.10-1.el8_6 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:1.51.0-6.el8_6.1 < *
Red Hat · Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceunaffected 0:2.2.10-1.el8_6 < *
Red Hat · Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceunaffected 0:1.51.0-6.el8_6.1 < *
Red Hat · Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsunaffected 0:2.2.10-1.el8_6 < *
Red Hat · Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsunaffected 0:1.51.0-6.el8_6.1 < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Supportunaffected 0:1.51.0-8.el8_8.1 < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:2.2.10-1.el8_8 < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:2.2.10-1.el8_8 < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD