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
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.7$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 6.7

VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

06/16/2008 🔍
06/20/2008 +4 days 🔍
06/20/2008 +0 days 🔍
06/23/2008 +3 days 🔍
06/23/2008 +0 days 🔍
06/24/2008 +1 days 🔍
06/24/2008 +0 days 🔍
06/30/2008 +6 days 🔍
07/14/2008 +14 days 🔍
01/06/2010 +541 days 🔍
03/16/2015 +1895 days 🔍
08/12/2019 +1610 days 🔍

Sourcesinfo

Advisory: ruby-lang.org
Organization: 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: 🔍

Entryinfo

Created: 03/16/2015 17:00
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!