Ruby 1.8.5-p230/1.8.6-p229/1.8.7-p21/1.9.0-1 rb_str_buf_append numeric error
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.0 | $0-$5k | 0.00 |
Summary
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. This vulnerability affects the function rb_str_buf_append. The manipulation leads to numeric error.
This vulnerability is documented as CVE-2008-2662. There is not any exploit available.
It is recommended 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) and classified as critical. This issue affects the function rb_str_buf_append. The manipulation with an unknown input leads to a numeric error vulnerability. Using CWE to declare the problem leads to CWE-189. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Multiple integer overflows in the rb_str_buf_append 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 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors that trigger memory corruption, a different issue than CVE-2008-2663, CVE-2008-2664, and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. This CVE description should be regarded as authoritative, although it is likely to change.
The bug was discovered 06/20/2008. The weakness was released 06/24/2008 with Apple Product Security (Website). The advisory is shared at ruby-lang.org. The identification of this vulnerability is CVE-2008-2662 since 06/10/2008. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful 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 4 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 33390 (Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : ruby1.8 vulnerabilities (USN-621-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117265 (CentOS Security Update for Ruby (CESA-2008:0561)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (43345), Tenable (33390), SecurityFocus (BID 29903†), OSVDB (46550†) and Secunia (SA30802†). Entries connected to this vulnerability are available at VDB-3775, VDB-3754, VDB-3750 and VDB-3753. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.0
VulDB Base Score: 10.0
VulDB Temp Score: 9.0
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: 33390
Nessus Name: Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : ruby1.8 vulnerabilities (USN-621-1)
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: 🔍
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/26/2008 🔍
06/30/2008 🔍
07/02/2008 🔍
03/16/2015 🔍
08/12/2019 🔍
Sources
Advisory: ruby-lang.orgOrganization: Apple Product Security
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2008-2662 (🔍)
GCVE (CVE): GCVE-0-2008-2662
GCVE (VulDB): GCVE-100-42881
OVAL: 🔍
X-Force: 43345
SecurityFocus: 29903 - Ruby Multiple Array and String Handling Functions Multiple Arbitrary Code Execution Vulnerabilities
Secunia: 30802
OSVDB: 46550 - CVE-2008-2662 - Ruby - Multiple Integer Overflow Issues
SecurityTracker: 1020347
Vulnerability Center: 18711 - Ruby Integer Overflow in Rb_str_buf_append 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:51
Changes: 03/16/2015 17:00 (76), 08/12/2019 09:51 (13)
Complete: 🔍
Cache ID: 216:B7E:103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.