Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue.
CVE-2022-24836 - High Severity Vulnerability
Vulnerable Library - nokogiri-1.8.2.gem
Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's many features is the ability to search documents via XPath or CSS3 selectors.
Library home page: https://rubygems.org/gems/nokogiri-1.8.2.gem
Path to dependency file: /vendor/github.com/hashicorp/vault/website/Gemfile.lock
Path to vulnerable library: /vendor/github.com/hashicorp/vault/website/Gemfile.lock
Dependency Hierarchy: - middleman-hashicorp-0.3.30.gem (Root Library) - middleman-3.4.1.gem - middleman-sprockets-3.5.0.gem - middleman-core-3.4.1.gem - capybara-2.4.4.gem - :x: **nokogiri-1.8.2.gem** (Vulnerable Library)
Found in HEAD commit: 9060713df80212ee5546b36d1083fb607520eb0b
Found in base branch: master
Vulnerability Details
Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue.
Publish Date: 2022-04-11
URL: CVE-2022-24836
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8
Release Date: 2024-08-01
Fix Resolution: nokogiri - 1.13.4
Step up your Open Source Security Game with Mend here