Nokogiri up to 1.12.4 on Ruby SAX Parser PushParser xml external entity reference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Nokogiri up to 1.12.4 on Ruby. It has been classified as critical. Impacted is the function Nokogiri::XML::SAX::Parse/Nokogiri::HTML4::SAX::Parser/its alias Nokogiri::HTML::SAX::Parser/Nokogiri::XML::SAX::PushParser/Nokogiri::HTML4::SAX::PushParser/Nokogiri::HTML::SAX::PushParser of the component SAX Parser. The manipulation leads to xml external entity reference.
This vulnerability is traded as CVE-2021-41098. It is possible to initiate the attack remotely. There is no exploit available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in Nokogiri up to 1.12.4 on Ruby (Ruby Gem). It has been rated as critical. This issue affects the function Nokogiri::XML::SAX::Parse/Nokogiri::HTML4::SAX::Parser/its alias Nokogiri::HTML::SAX::Parser/Nokogiri::XML::SAX::PushParser/Nokogiri::HTML4::SAX::PushParser/Nokogiri::HTML::SAX::PushParser of the component SAX Parser. The manipulation with an unknown input leads to a xml external entity reference vulnerability. Using CWE to declare the problem leads to CWE-611. The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. Impacted is confidentiality.
The weakness was shared 09/28/2021 as GHSA-2rr5-8q37-2w7h. It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2021-41098 since 09/15/2021. Technical details of the vulnerability are known, but there is no available exploit.
Upgrading to version 1.12.5 eliminates this vulnerability. Applying the patch 5bf729ff3cc84709ee3c3248c981584088bf9f6d is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Xml external entity referenceCWE: CWE-611 / CWE-610
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Nokogiri 1.12.5
Patch: 5bf729ff3cc84709ee3c3248c981584088bf9f6d
Timeline
09/15/2021 🔍09/28/2021 🔍
09/28/2021 🔍
10/02/2021 🔍
Sources
Advisory: GHSA-2rr5-8q37-2w7hStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2021-41098 (🔍)
GCVE (CVE): GCVE-0-2021-41098
GCVE (VulDB): GCVE-100-183419
Entry
Created: 09/28/2021 02:21Updated: 10/02/2021 20:53
Changes: 09/28/2021 02:21 (53), 10/02/2021 20:53 (2)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.