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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.70%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 2.0
- 7.8 HIGHAV:N/AC:L/Au:N/C:N/I:N/A:C
- EPSS
- 3.70% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-189
- Affected
- ruby-lang/ruby · debian/debian linux · canonical/ubuntu linux
- Source
- secalert@redhat.com
References
- http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/Third Party Advisory
- http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.htmlThird Party Advisory
- http://secunia.com/advisories/30802Third Party Advisory
- http://secunia.com/advisories/30831Third Party Advisory
- http://secunia.com/advisories/30867Third Party Advisory
- http://secunia.com/advisories/30875Third Party Advisory
- http://secunia.com/advisories/30894Third Party Advisory
- http://secunia.com/advisories/31062Third Party Advisory
- http://secunia.com/advisories/31090Third Party Advisory
- http://secunia.com/advisories/31181Third Party Advisory
- http://secunia.com/advisories/31256Third Party Advisory
- http://secunia.com/advisories/31687Third Party Advisory
- http://secunia.com/advisories/33178Third Party Advisory
- http://security.gentoo.org/glsa/glsa-200812-17.xmlThird Party Advisory
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562Third Party Advisory
- http://support.apple.com/kb/HT2163Third Party Advisory
- http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilitiesThird Party Advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206Broken Link
- http://www.debian.org/security/2008/dsa-1612Third Party Advisory
- http://www.debian.org/security/2008/dsa-1618Third Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:140Third Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:141Third Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:142Third Party Advisory
- http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/Third Party Advisory
- http://www.redhat.com/archives/fedora-security-commits/2008-June/msg00005.htmlThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0561.htmlThird Party Advisory
- http://www.ruby-forum.com/topic/157034Third Party Advisory
- http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/Patch, Vendor Advisory
- http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.htmlThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.