Advisory

GHSA-242x-7cm6-4w8j

Also known as: CVE-2019-18197

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:59 UTC
Modified
2026-06-09 10:22 UTC

Affected packages and fixes

nokogiri

RubyGems · All systems

Affected

  • introduced 0, fixed 1.10.5 (ecosystem)

Fixed versions

1.10.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences