HIGH 8.8 RubyGems

Nokogiri implementation of libxslt lacks integer overflow checks

GHSA-pf6m-fxpq-fg8v · CVE-2017-5029

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes