ADVISORIES

GitHub Advisory Database

GHSA-cf46-6xxh-pc75

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsnokogiri
All versions before 1.10.5 (fixed in 1.10.5)

References