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.
{
"nvd_published_at": "2017-04-24T23:59:00Z",
"cwe_ids": [
"CWE-787"
],
"severity": "HIGH",
"github_reviewed_at": "2020-06-16T21:48:58Z",
"github_reviewed": true
}