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 |
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.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
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
ATT&CK: Unknown
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: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
06/16/2008 🔍06/20/2008 🔍
06/21/2008 🔍
06/23/2008 🔍
06/23/2008 🔍
06/24/2008 🔍
06/24/2008 🔍
06/24/2008 🔍
06/24/2008 🔍
06/29/2008 🔍
03/16/2015 🔍
08/12/2019 🔍
Sources
Advisory: ruby-lang.orgOrganization: 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: 🔍
Entry
Created: 03/16/2015 17:00Updated: 08/12/2019 09:27
Changes: 03/16/2015 17:00 (74), 08/12/2019 09:27 (13)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.