CVE-2024-8176

Summary

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.

Affected Software

VendorProductVersion RangeStatus
0 < 2.7.0affected
Red HatRed Hat Enterprise Linux 100:2.7.1-1.el10_0 < *unaffected
Red HatRed Hat Enterprise Linux 80:2.2.5-17.el8_10 < *unaffected
Red HatRed Hat Enterprise Linux 80:1.51.0-11.el8_10 < *unaffected
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:2.2.10-1.el8_2 < *unaffected
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:1.51.0-5.el8_2.2 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.2.10-1.el8_4 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.51.0-5.el8_4.2 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.2.10-1.el8_4 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Service0:1.51.0-5.el8_4.2 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:1.51.0-5.el8_4.2 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.2.10-1.el8_6 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:1.51.0-6.el8_6.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service0:2.2.10-1.el8_6 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service0:1.51.0-6.el8_6.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:2.2.10-1.el8_6 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:1.51.0-6.el8_6.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support0:1.51.0-8.el8_8.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.2.10-1.el8_8 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.2.10-1.el8_8 < *unaffected
Red HatRed Hat Enterprise Linux 90:2.5.0-3.el9_5.3 < *unaffected
Red HatRed Hat Enterprise Linux 90:2.5.0-5.el9_6 < *unaffected
Red HatRed Hat Enterprise Linux 90:2.5.0-3.el9_5.3 < *unaffected
Red HatRed Hat Enterprise Linux 90:2.5.0-5.el9_6 < *unaffected
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:2.2.10-12.el9_0.4 < *unaffected
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.5.0-1.el9_2.3 < *unaffected
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:2.5.0-2.el9_4.3 < *unaffected
Red HatDevWorkspace Operator 0.330.33-1744075017 < *unaffected
Red HatRed Hat Discovery 1.141.14.3-1748529279 < *unaffected
Red HatRed Hat Discovery 1.141.14.2-1748467619 < *unaffected

Weaknesses

  • CWE-674: Uncontrolled Recursion

Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: partial

CVE Program Container

Additional References

References