Nokogiri up to 1.13.3 on Ruby Regular Expression resource consumption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Nokogiri up to 1.13.3 on Ruby. It has been rated as problematic. This affects an unknown part of the component Regular Expression Handler. The manipulation leads to resource consumption. This vulnerability is uniquely identified as CVE-2022-24836. The attack is possible to be carried out remotely. No exploit exists. Upgrading the affected component is advised.
Details
A vulnerability was found in Nokogiri up to 1.13.3 on Ruby (Ruby Gem). It has been rated as problematic. This issue affects an unknown function of the component Regular Expression Handler. The manipulation with an unknown input leads to a resource consumption vulnerability. Using CWE to declare the problem leads to CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. Impacted is availability.
The weakness was disclosed 04/12/2022 as GHSA-crjr-9rc5-ghw8. It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2022-24836 since 02/10/2022. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1499 according to MITRE ATT&CK.
Upgrading to version 1.13.4 eliminates this vulnerability. Applying the patch e444525ef1634b675cd1cf52d39f4320ef0aecfd 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.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2022-1712). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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: Resource consumptionCWE: CWE-400 / CWE-404
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.13.4
Patch: e444525ef1634b675cd1cf52d39f4320ef0aecfd
Timeline
02/10/2022 🔍04/12/2022 🔍
04/12/2022 🔍
03/31/2026 🔍
Sources
Advisory: GHSA-crjr-9rc5-ghw8Status: Confirmed
CVE: CVE-2022-24836 (🔍)
GCVE (CVE): GCVE-0-2022-24836
GCVE (VulDB): GCVE-100-196847
EUVD: 🔍
Entry
Created: 04/12/2022 07:24Updated: 03/31/2026 21:52
Changes: 04/12/2022 07:24 (43), 04/14/2022 07:41 (1), 04/14/2022 07:48 (12), 03/31/2026 21:52 (15)
Complete: 🔍
Cache ID: 216:380:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.