Use After Free Affecting xerces-c package, versions <3.2.5-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. 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-ALPINE321-XERCESC-8490214
  • published6 Dec 2024
  • disclosed18 Dec 2019

Introduced: 18 Dec 2019

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

How to fix?

Upgrade Alpine:3.21 xerces-c to version 3.2.5-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xerces-c package and not the xerces-c package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1