Apache Xerces-C++ 3.0.0-3.2.5 UAF via External DTDs
CVE-2024-23807 Published on February 29, 2024
Apache Xerces C++: Use-after-free on external DTD scan
The Apache Xerces C++ XML parser on versions 3.0.0 before 3.2.5 contains a use-after-free error triggered during the scanning of external DTDs.
Users are recommended to upgrade to version 3.2.5 which fixes the issue, or mitigate the issue by disabling DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.
This issue has been disclosed before as CVE-2018-1311, but unfortunately that advisory incorrectly stated the issue would be fixed in version 3.2.3 or 3.2.4.
Vulnerability Analysis
CVE-2024-23807 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2024-23807 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2024-23807
stack.watch emails you whenever new vulnerabilities are published in Oracle or Apache Xerces C. Just hit a watch button to start following.
Affected Versions
Apache Software Foundation Apache Xerces C++:- Version 3.0.0 and below 3.2.5 is affected.
- Version 3.0.0 and below 3.2.5 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.