CVE-2021-41098
Last modified
CVE-2021-41098 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.58% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nokogiri | Nokogiri | < 1.12.5 |
References
- https://github.com/sparklemotion/nokogiri/commit/5bf729ff3cc84709ee3c3248c981584088bf9f6dPatch, Third Party Advisory
- https://github.com/sparklemotion/nokogiri/commit/5bf729ff3cc84709ee3c3248c981584088bf9f6dPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41098?
How severe is CVE-2021-41098?
How do I fix CVE-2021-41098?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41092Docker CLI is the command line interface for the docker cont…7.5
- CVE-2021-41093Wire is an open source secure messenger. In affected version…9.8
- CVE-2021-41094Wire is an open source secure messenger. Users of Wire by Bu…4.6
- CVE-2021-41095Discourse is an open source discussion platform. There is a …6.1
- CVE-2021-41096Rucky is a USB HID Rubber Ducky Launch Pad for Android. Vers…7.5
- CVE-2021-41097aurelia-path is part of the Aurelia platform and contains ut…7.5
- CVE-2021-41099Redis is an open source, in-memory database that persists on…7.5
- CVE-2021-4110mruby is vulnerable to NULL Pointer Dereference7.5
- CVE-2021-41100Wire-server is the backing server for the open source wire s…9.8
- CVE-2021-41101wire-server is an open-source back end for Wire, a secure co…5.7
- CVE-2021-41103containerd is an open source container runtime with an empha…7.8
- CVE-2021-41104ESPHome is a system to control the ESP8266/ESP32. Anyone wit…7.5
Are you affected by CVE-2021-41098?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
