Vulnerability in Ruby-Lang Ruby
CVE-2008-2726
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.
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.038, 90.1th 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)
- ruby-rbarysplice-begrlen-code-execution(43351) (Third Party Advisory, VDB Entry, vdb-entry)
- ADV-2008-1907 (Third Party Advisory, vdb-entry)
- DSA-1618 (vendor-advisory, Third Party Advisory)