Advisory

GHSA-cf46-6xxh-pc75

Also known as: CVE-2019-13118

Summary

libxslt Type Confusion vulnerability that affects Nokogiri

Details

In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.

Nokogiri prior to version 1.10.5 used a vulnerable version of libxslt. Nokogiri 1.10.5 updated libxslt to version 1.1.34 to address this and other vulnerabilities in libxslt.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:49 UTC
Modified
2026-06-09 10:30 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