Out-of-bounds Write Affecting nokogiri package, versions <1.13.4


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.37% (74th 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 IDSNYK-RUBY-NOKOGIRI-2630623
  • published12 Apr 2022
  • disclosed11 Apr 2022
  • creditTavis Ormandy

Introduced: 11 Apr 2022

CVE-2018-25032  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade nokogiri to version 1.13.4 or higher.

Overview

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

Affected versions of this package are vulnerable to Out-of-bounds Write via the zlib dependency which allows memory corruption when deflating if the input has many distant matches.

CVSS Scores

version 3.1