VDB
KO
HIGH 8.8

GHSA-pf6m-fxpq-fg8v

Nokogiri implementation of libxslt lacks integer overflow checks

Details

The xsltAddTextString function in transform.c in libxslt 1.1.29, as used in Nokogiri prior to 1.7.2, lacked a check for integer overflow during a size calculation, which allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / nokogiri
Introduced in: 0 Fixed in: 1.7.2
Fix bundle update nokogiri

References