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

A vulnerability classified as critical has been found in Ruby 1.8.5-p230/1.8.6-p229/1.8.7-p21/1.9.0-1 (Programming Language Software). This affects the function rb_ary_replace. The manipulation with an unknown input leads to a numeric error vulnerability. CWE is classifying the issue as CWE-189. This is going to have an impact on availability. The summary by CVE is:

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, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption, aka the "beg + rlen" issue. 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 published 06/24/2008 with Apple Product Security (Website). The advisory is shared at ruby-lang.org. This vulnerability is uniquely identified as CVE-2008-2726 since 06/16/2008. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, 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 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 33241 (FreeBSD : ruby -- multiple integer and buffer overflow vulnerabilities (53802164-3f7e-11dd-90ea-0019666436c2)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD 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 before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (43351) and Tenable (33241). Similar entries are available at 3775, 3754, 3750 and 3753.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
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
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 33241
Nessus Name: FreeBSD : ruby -- multiple integer and buffer overflow vulnerabilities (53802164-3f7e-11dd-90ea-0019666436c2)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

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: 🔍

0-Day Time: 🔍

Timelineinfo

06/16/2008 🔍
06/20/2008 +4 days 🔍
06/21/2008 +1 days 🔍
06/23/2008 +2 days 🔍
06/23/2008 +0 days 🔍
06/24/2008 +1 days 🔍
06/24/2008 +0 days 🔍
06/24/2008 +0 days 🔍
06/24/2008 +0 days 🔍
06/29/2008 +5 days 🔍
03/16/2015 +2451 days 🔍
08/12/2019 +1610 days 🔍

Sourcesinfo

Advisory: ruby-lang.org
Organization: Apple Product Security
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-2726 (🔍)
OVAL: 🔍

X-Force: 43351
SecurityTracker: 1020347
Vulnerability Center: 18699 - Ruby Integer Overflow Allows Remote Attackers to Corrupt Memory and Execute Arbitrary Code, High
SecurityFocus: 29903 - Ruby Multiple Array and String Handling Functions Multiple Arbitrary Code Execution Vulnerabilities
Secunia: 30802
OSVDB: 46554 - CVE-2008-2726 - Ruby - Integer Overflow Issue
Vupen: ADV-2008-1907

See also: 🔍

Entryinfo

Created: 03/16/2015 17:00
Updated: 08/12/2019 09:27
Changes: 03/16/2015 17:00 (74), 08/12/2019 09:27 (13)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!