Ruby 1.8.5-p230/1.8.6-p229/1.8.7-p21/1.9.0-1 rb_str_format resource management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Ruby 1.8.5-p230/1.8.6-p229/1.8.7-p21/1.9.0-1. Impacted is the function rb_str_format. This manipulation causes resource management.
This vulnerability appears as CVE-2008-2664. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Ruby 1.8.5-p230/1.8.6-p229/1.8.7-p21/1.9.0-1 (Programming Language Software). It has been declared as critical. Affected by this vulnerability is the function rb_str_format. 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 rb_str_format function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to alloca, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. The CVE description should be regarded as authoritative, although it is likely to change.
The bug was discovered 06/20/2008. The weakness was presented 06/24/2008 with Apple Product Security (Website). It is possible to read the advisory at ruby-lang.org. This vulnerability is known as CVE-2008-2664 since 06/10/2008. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 4 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 43694 (CentOS 4 / 5 : ruby (CESA-2008:0561)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117264 (CentOS Security Update for Ruby (CESA-2008:0562)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (43348), Tenable (43694), SecurityFocus (BID 29903†), OSVDB (46552†) and Secunia (SA30802†). See VDB-3775, VDB-3754, VDB-3750 and VDB-3753 for similar entries. 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: 6.7
VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 43694
Nessus Name: CentOS 4 / 5 : ruby (CESA-2008:0561)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 61362
OpenVAS Name: Debian Security Advisory DSA 1612-1 (ruby1.8)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
06/10/2008 🔍06/20/2008 🔍
06/20/2008 🔍
06/23/2008 🔍
06/23/2008 🔍
06/24/2008 🔍
06/24/2008 🔍
06/30/2008 🔍
07/14/2008 🔍
01/06/2010 🔍
03/16/2015 🔍
08/12/2019 🔍
Sources
Advisory: ruby-lang.orgOrganization: Apple Product Security
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2008-2664 (🔍)
GCVE (CVE): GCVE-0-2008-2664
GCVE (VulDB): GCVE-100-42883
OVAL: 🔍
X-Force: 43348
SecurityFocus: 29903 - Ruby Multiple Array and String Handling Functions Multiple Arbitrary Code Execution Vulnerabilities
Secunia: 30802
OSVDB: 46552 - CVE-2008-2664 - Ruby - Memory Corruption Issue
SecurityTracker: 1020347
Vulnerability Center: 18709 - Ruby Integer Overflow in Rb_str_format Function Allows Remote Code Execution and DoS, High
Vupen: ADV-2008-1907
See also: 🔍
Entry
Created: 03/16/2015 17:00Updated: 08/12/2019 09:46
Changes: 03/16/2015 17:00 (75), 08/12/2019 09:46 (13)
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.