Vulnerability in Ruby-Lang Ruby
CVE-2008-2725
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.037, 89.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby
- Canonical Ubuntu Linux — versions 6.06, 7.04, 7.10
- Debian Linux — versions 4.0
Weakness classification (CWE)
References
- SUSE-SR:2008:017 (vendor-advisory, Third Party Advisory)
- support.apple.com/kb/HT2163 (Third Party Advisory)
- secunia.com/advisories/31090 (Third Party Advisory, third-party-advisory)
- weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities (Third Party Advisory)
- MDVSA-2008:141 (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/30875 (Third Party Advisory, third-party-advisory)
- ADV-2008-1981 (Third Party Advisory, vdb-entry)
- ADV-2008-1907 (Third Party Advisory, vdb-entry)
- oval:org.mitre.oval:def:9606 (signature, Third Party Advisory, vdb-entry)
- DSA-1618 (vendor-advisory, Third Party Advisory)