Use-after-free in Apache Xerces C++ - CVE-2024-23807

 

Use-after-free in Apache Xerces C++ - CVE-2024-23807

Published: February 20, 2024


Vulnerability identifier: #VU86623
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2024-23807
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Xerces C++

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the XML parser when scanning of external DTDs. A remote attacker can pass specially crafted input to the application, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Note, the vulnerability exists due to an incorrect fix for #VU24140 (CVE-2018-1311).


How to mitigate CVE-2024-23807

Install updates from vendor's website.

Sources