Lucene search

K
vulnrichmentApacheVULNRICHMENT:CVE-2024-23807
HistoryFeb 28, 2024 - 1:50 p.m.

CVE-2024-23807 Apache Xerces C++: Use-after-free on external DTD scan

2024-02-2813:50:39
CWE-416
apache
github.com
4
apache xerces c++
xml parser
use-after-free
dtd scanning
upgrade
mitigate

AI Score

6.8

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

total

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:apache:xerces-c:3.0.0:*:*:*:*:*:*:*"
    ],
    "vendor": "apache",
    "product": "xerces-c",
    "versions": [
      {
        "status": "affected",
        "version": "3.0.0",
        "lessThan": "3.2.5",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]