Ruby up to 1.9.2 Regex URI.decode_www_form_component resource management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.1$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Resource management
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 84833
Nessus Name: Debian DLA-275-1 : ruby1.9.1 security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Ruby 1.9.2-p330

Timelineinfo

08/19/2014 🔍
08/19/2014 +0 days 🔍
09/16/2014 +28 days 🔍
07/13/2015 +300 days 🔍
07/19/2015 +6 days 🔍
09/06/2017 +780 days 🔍
06/03/2022 +1731 days 🔍

Sourcesinfo

Advisory: Ruby 1.9.2-p330 Released
Status: 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

Entryinfo

Created: 07/19/2015 19:43
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!