Advisory

GHSA-pf6m-fxpq-fg8v

Also known as: CVE-2017-5029

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-31 18:21 UTC
Modified
2024-02-16 08:13 UTC

Affected packages and fixes

nokogiri

RubyGems · All systems

Affected

  • introduced 0, fixed 1.7.2 (ecosystem)

Fixed versions

1.7.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences