GHSA-fr52-4hqw-p27f

Nokogiri does not forbid namespace nodes in XPointer ranges

At a glance

Published
Updated
CVE
CVE-2016-4658
CVSS_V3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

Affected packages

PackageVersions
RubyGems · nokogiriintroduced 0, fixed 1.7.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database