Access Control Bypass Affecting nokogiri package, versions <1.10.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (70th percentile)

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 Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-NOKOGIRI-3357693
  • published9 Mar 2023
  • disclosed9 Mar 2023
  • creditUnknown

Introduced: 9 Mar 2023

CVE-2019-11068  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade nokogiri to version 1.10.3 or higher.

Overview

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

Affected versions of this package are vulnerable to Access Control Bypass due to the usage of a vulnerable dependency package (libxslt), which allows bypass of a protection mechanism because callers of xsltCheckRead and xsltCheckWrite permit access even upon receiving a -1 error code. xsltCheckRead can return -1 for a crafted URL that is not actually invalid and is subsequently loaded.

CVSS Scores

version 3.1