Advisory

GHSA-fr52-4hqw-p27f

Also known as: CVE-2016-4658

Summary

Nokogiri does not forbid namespace nodes in XPointer ranges

Details

xpointer.c in libxml2 before 2.9.5 (as used in nokogiri before 1.7.1 amongst other products) does not forbid namespace nodes in XPointer ranges, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and memory corruption) via a crafted XML document.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-08-21 19:03 UTC
Modified
2024-02-16 08:15 UTC

Affected packages and fixes

nokogiri

RubyGems · All systems

Affected

  • introduced 0, fixed 1.7.1 (ecosystem)

Fixed versions

1.7.1

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