Use-After-Free Error in Xerces C++ XML Parser Could Lead to Memory Corruption
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2024-23807
- Vendor
- CVE Published:
- 29 February 2024
- Fixed in
- Fixed in:
- 3.2.5
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Xerces C++. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.8).
What is CVE-2024-23807?
The Apache Xerces C++ XML Parser prior to version 3.2.5 is susceptible to a use-after-free vulnerability, which may be exploited during the processing of external DTDs. This flaw can lead to application crashes or potential unauthorized access. Users are urged to upgrade to version 3.2.5 to resolve this issue or disable DTD processing as a temporary mitigation strategy. This can be performed through standard parser features in the DOM or by setting the XERCES_DISABLE_DTD environment variable for SAX parsers. It is important to note that this issue was previously reported as CVE-2018-1311, but prior advisories inaccurately indicated that it would be addressed in earlier versions.
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction