What’s Vulnerable › Vulnerabilities

CVE-2019-18197: Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability

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.

Affected products

How to fix

Upgrade to a fixed version: Rubygems Nokogiri 1.10.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-18197 or the next vulnerability affects your stack