Ruby up to 1.9.2 Regex URI.decode_www_form_component resource management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Ruby up to 1.9.2. It has been rated as problematic. Impacted is the function URI.decode_www_form_component of the component Regex Handler. This manipulation causes resource management.
This vulnerability is handled as CVE-2014-6438. Additionally, an exploit exists.
Upgrading the affected component is advised.
Details
A vulnerability was found in Ruby up to 1.9.2 (Programming Language Software). It has been declared as problematic. Affected by this vulnerability is the function URI.decode_www_form_component of the component Regex Handler. The manipulation with an unknown input leads to a resource management vulnerability. The CWE definition for the vulnerability is CWE-399. As an impact it is known to affect availability. The summary by CVE is:
The URI.decode_www_form_component method in Ruby before 1.9.2-p330 allows remote attackers to cause a denial of service (catastrophic regular expression backtracking, resource consumption, or application crash) via a crafted string.
The weakness was released 08/19/2014 as Ruby 1.9.2-p330 Released as confirmed release notes (Website). The advisory is shared at ruby-lang.org. Das CVE für diese Schwachstelle wurde rund ein Jahr nach der Veröffentlichung der aktualisierten Version zugewiesen. This vulnerability is known as CVE-2014-6438 since 09/16/2014. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.
A public exploit has been developed in Command and been published immediately after the advisory. It is possible to download the exploit at ruby-lang.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 84833 (Debian DLA-275-1 : ruby1.9.1 security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The code used by the exploit is:
ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophic backtracking as it gets longer %"'
Upgrading to version 1.9.2-p330 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (84833) and SecurityTracker (ID 1032874†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
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.1
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Resource managementCWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 84833
Nessus Name: Debian DLA-275-1 : ruby1.9.1 security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: Ruby 1.9.2-p330
Timeline
08/19/2014 🔍08/19/2014 🔍
09/16/2014 🔍
07/13/2015 🔍
07/19/2015 🔍
09/06/2017 🔍
06/03/2022 🔍
Sources
Advisory: Ruby 1.9.2-p330 ReleasedStatus: Confirmed
CVE: CVE-2014-6438 (🔍)
GCVE (CVE): GCVE-0-2014-6438
GCVE (VulDB): GCVE-100-76741
SecurityTracker: 1032874 - Ruby Parsing Error in 'URI.decode_www_form_component' Lets Remote Users Deny Service
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 07/19/2015 19:43Updated: 06/03/2022 12:00
Changes: 07/19/2015 19:43 (63), 07/10/2017 09:03 (5), 06/03/2022 11:53 (13), 06/03/2022 12:00 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.