VDB
KO
CRITICAL 9.8

GHSA-fr52-4hqw-p27f

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / nokogiri
Introduced in: 0 Fixed in: 1.7.1
Fix bundle update nokogiri

References