Nokogiri implementation of libxslt lacks integer overflow checks
High severity
GitHub Reviewed
Published
Jul 31, 2018
to the GitHub Advisory Database
•
Updated Jul 3, 2023
Description
Published by the National Vulnerability Database
Apr 24, 2017
Published to the GitHub Advisory Database
Jul 31, 2018
Reviewed
Jun 16, 2020
Last updated
Jul 3, 2023
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.
References