Use After Free Affecting libxslt-devel package, versions <0:1.1.28-6.15.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.74% (81st 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-AMZN201803-LIBXSLTDEVEL-1725434
  • published27 Sept 2021
  • disclosed18 Oct 2019

Introduced: 18 Oct 2019

CVE-2019-18197  (opens in a new tab)
CWE-416  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 libxslt-devel to version 0:1.1.28-6.15.amzn1 or higher.
This issue was patched in ALAS-2021-1463.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxslt-devel package and not the libxslt-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written to, or uninitialized data could be disclosed.

CVSS Scores

version 3.1