Use After Free Affecting libxslt package, versions <0:1.1.28-6.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.45% (91st 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 IDSNYK-RHEL7-LIBXSLT-7974614
  • published14 Sept 2024
  • disclosed18 Oct 2019

Introduced: 18 Oct 2019

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

How to fix?

Upgrade RHEL:7 libxslt to version 0:1.1.28-6.el7 or higher.
This issue was patched in RHSA-2020:4005.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxslt package and not the libxslt package as distributed by RHEL. See How to fix? for RHEL:7 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 Base Scores

version 3.1