Use After Free Affecting xerces-c package, versions [3.0.0,3.2.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.04% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-XERCESC-2384842
  • published26 Jan 2022
  • disclosed18 Dec 2019
  • creditUnknown

Introduced: 18 Dec 2019

CVE-2018-1311  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade xerces-c to version 3.2.5 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. The Apache Xerces-C 3.0.0 to 3.2.3 XML parser contains a use-after-free error triggered during the scanning of external DTDs. This flaw has not been addressed in the maintained version of the library and has no current mitigation other than to disable DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.

Note: CVE-2024-23807 was issued as a notification for the fix released.

CVSS Scores

version 3.1