Arbitrary Code Execution Affecting nokogiri package, versions >=1.6.0, <1.6.8


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 2.17% (90th percentile)
Expand this section
NVD
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-20277
  • published 6 Jun 2016
  • disclosed 13 Apr 2016
  • credit Unknown

How to fix?

Upgrade nokogiri to version 1.6.8 or higher.

Overview

nokogiri is an HTML, XML, SAX, and Reader parser, with the ability to search documents via XPath or CSS3 selectors.

Affected versions of this gem are vulnerable to Arbitrary Code Execution attacks. Nokogiri is affected by series of vulnerabilities in libxml2 and libxslt, which are libraries Nokogiri depends on. libxml2 and libxslt incorrectly handled certain malformed documents, which can allow attackers to perform a Denial of Service or Arbitrary Code Execution attacks.