What’s Vulnerable › Vulnerabilities

CVE-2024-8176: Libexpat: expat: improper restriction of xml entity expansion depth in libexpat

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat DevWorkspace Operator 0.33 0.33-1744075017; Red Hat Discovery 1.14 1.14.2-1748467619, 1.14.3-1748529279; Red Hat Enterprise Linux 10 0:2.7.1-1.el10_0; Red Hat Enterprise Linux 8 0:1.51.0-11.el8_10, 0:2.2.5-17.el8_10; Red Hat Enterprise Linux 8.2 Advanced Update Support 0:1.51.0-5.el8_2.2, 0:2.2.10-1.el8_2; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:1.51.0-5.el8_4.2, 0:2.2.10-1.el8_4; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:2.2.10-1.el8_4; Red Hat Enterprise Linux 8.4 Telecommunications Update Service 0:1.51.0-5.el8_4.2; Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions 0:1.51.0-5.el8_4.2; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:1.51.0-6.el8_6.1, 0:2.2.10-1.el8_6; Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:1.51.0-6.el8_6.1, 0:2.2.10-1.el8_6; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:1.51.0-6.el8_6.1, 0:2.2.10-1.el8_6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-8176 or the next vulnerability affects your stack