Paper/Archive/CVE-2024-23807

CVE-2024-23807

Apache Software Foundation Apache Xerces C++ — Apache Xerces C++: Use-after-free on external DTD scan

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Apache Xerces C++3.0.0 – < 3.2.53.2.5CNA
xerces-c3.0.0 – < 3.2.53.2.5CISA-ADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

patchgithub.com/apache/xerces-c/pull/54advisorylists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r