Ruby 1.8.5-p230/1.8.6-p229/1.8.7-p21/1.9.0-1 rb_ary_replace numeric error
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in Ruby 1.8.5-p230/1.8.6-p229/1.8.7-p21/1.9.0-1. The affected element is the function rb_ary_replace. Such manipulation leads to numeric error.
This vulnerability is traded as CVE-2008-2725. There is no exploit available.
You should 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 rated as critical. Affected by this issue is the function rb_ary_replace. The manipulation with an unknown input leads to a numeric error vulnerability. Using CWE to declare the problem leads to CWE-189. Impacted is availability. CVE summarizes:
Integer overflow in the (1) rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and 1.8.7 before 1.8.7-p22; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption via unspecified vectors, aka the "REALLOC_N" variant, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2664. 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 shared 06/24/2008 with Apple Product Security (Website). The advisory is shared for download at ruby-lang.org. This vulnerability is handled as CVE-2008-2725 since 06/16/2008. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.
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 (43350), Tenable (43694), SecurityFocus (BID 29903†), OSVDB (46553†) and Secunia (SA30802†). The entries VDB-3775, VDB-3754, VDB-3750 and VDB-3753 are related to this item. Once again VulDB remains the best 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: 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: Numeric errorCWE: CWE-189
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/16/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-2725 (🔍)
GCVE (CVE): GCVE-0-2008-2725
GCVE (VulDB): GCVE-100-42884
OVAL: 🔍
X-Force: 43350
SecurityFocus: 29903 - Ruby Multiple Array and String Handling Functions Multiple Arbitrary Code Execution Vulnerabilities
Secunia: 30802
OSVDB: 46553 - CVE-2008-2725 - Ruby - Integer Overflow Issue
SecurityTracker: 1020347
Vulnerability Center: 18708 - Ruby Integer Overflow in Rb_ary_splice 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:42
Changes: 03/16/2015 17:00 (75), 08/12/2019 09:42 (13)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.