Out-of-Bounds The advisory has been revoked - it doesn't affect any version of package nokogiri Open this link in a new tab


    Threat Intelligence

    EPSS 0.27% (68th percentile)
Expand this section
NVD
5.3 medium
Expand this section
SUSE
3.3 low
Expand this section
Red Hat
5.3 medium

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-3357692
  • published 9 Mar 2023
  • disclosed 9 Mar 2023
  • credit OSS-Fuzz

How to fix?

Upgrade nokogiri to version 1.10.5 or higher.

Amendment

This was deemed not a vulnerability.

Overview

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

Affected versions of this package are vulnerable to Out-of-Bounds due to the usage of a vulnerable version of libxslt. A type holding grouping characters of an xsl:number instruction was too narrow, and an invalid character/length combination could be passed to xsltNumberFormatDecimal which results in a read of uninitialized stack data.

References