7.5

CVE-2021-41098: nokogiri

CVSS: 7.5v3.0HighModified
AliasesopenSUSE-SU-2024:11577-1GHSA-2rr5-8q37-2w7h
Published 27-09-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-41098 is a high (CVSS 7.5) vulnerability in nokogiri. EPSS estimates a 1.46% chance of exploitation in the next 30 days, higher than 73.1% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (CVE.org)
EPSS score
1.46%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 27-09-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri v1.12.4 and earlier, on JRuby only, the SAX parser resolves external entities by default. Users of Nokogiri on JRuby who parse untrusted documents using any of these classes are affected: Nokogiri::XML::SAX::Parse, Nokogiri::HTML4::SAX::Parser or its alias Nokogiri::HTML::SAX::Parser, Nokogiri::XML::SAX::PushParser, and Nokogiri::HTML4::SAX::PushParser or its alias Nokogiri::HTML::SAX::PushParser. JRuby users should upgrade to Nokogiri v1.12.5 or later to receive a patch for this issue. There are no workarounds available for v1.12.4 or earlier. CRuby users are not affected.

CVSS metrics

5 scores · 3 sources · 3 versions

EPSS trend

Probability

1.46%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

+0.01 pp

From 1.45% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.46%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Nokogiri1 product
Opensuse1 product
  • rubygem-nokogiri&distro=openSUSE Tumbleweed< 1.12.5-1.1
RubyGems1 product
  • nokogiri< 1.12.5
Sparklemotion1 product

4 vendors · 4 products

References

6 links