Use After Free Affecting xerces-c package, versions <0:3.1.1-10.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.3% (70th 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-AMZN2-XERCESC-1679198
  • published27 Sept 2021
  • 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 Amazon-Linux:2 xerces-c to version 0:3.1.1-10.amzn2 or higher.
This issue was patched in ALAS2-2020-1415.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2 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