Use After Free Affecting nokogiri package, versions <1.15.6 >=1.16.0, <1.16.2


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.05% (16th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
5.9 medium
Expand this section
Red Hat
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-NOKOGIRI-6228056
  • published 5 Feb 2024
  • disclosed 5 Feb 2024
  • credit Unknown

How to fix?

Upgrade nokogiri to version 1.15.6, 1.16.2 or higher.

Overview

nokogiri is a gem for parsing HTML, XML, SAX, and Reader.

Affected versions of this package are vulnerable to Use After Free via the xmlTextReader module. An attacker can cause denial of service by processing crafted XML documents with DTD validation and XInclude expansion enabled.