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


Severity

Recommended
medium

Based on Red Hat Enterprise 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-RHEL7-LIBXSLTPYTHON-1529084
  • published26 Jul 2021
  • 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-python 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-python package and not the libxslt-python 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 Scores

version 3.1