GHSA-242x-7cm6-4w8j

Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability

At a glance

Published
Updated
CVE
CVE-2019-18197
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

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. Nokogiri prior to version 1.10.5 contains a vulnerable version of libxslt. Nokogiri version 1.10.5 upgrades the dependency to libxslt 1.1.34, which contains a patch for this issue.

Affected packages

PackageVersions
RubyGems · nokogiriintroduced 0, fixed 1.10.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database