CVE-2008-2725

ruby: integer overflow in rb_ary_splice/update/replace() - REALLOC_N

Published Jun 24, 2008 CVSS 2.0 · 7.8 High EPSS 3.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1612-1 New ruby1.8 packages fix several vulnerabilities
Debian DSA Debian DSA DSA-1618-1 New ruby1.9 packages fix several vulnerabilities
EUVD EUVD EUVD-2008-2718 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.
Ubuntu USN Ubuntu USN USN-621-1 Ruby vulnerabilities
References
Link Providers
http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/ cve-icon cve-icon
http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html cve-icon cve-icon
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html cve-icon cve-icon
http://secunia.com/advisories/30802 cve-icon cve-icon
http://secunia.com/advisories/30831 cve-icon cve-icon
http://secunia.com/advisories/30867 cve-icon cve-icon
http://secunia.com/advisories/30875 cve-icon cve-icon
http://secunia.com/advisories/30894 cve-icon cve-icon
http://secunia.com/advisories/31062 cve-icon cve-icon
http://secunia.com/advisories/31090 cve-icon cve-icon
http://secunia.com/advisories/31181 cve-icon cve-icon
http://secunia.com/advisories/31256 cve-icon cve-icon
http://secunia.com/advisories/31687 cve-icon cve-icon
http://secunia.com/advisories/33178 cve-icon cve-icon
http://security.gentoo.org/glsa/glsa-200812-17.xml cve-icon cve-icon
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562 cve-icon cve-icon
http://support.apple.com/kb/HT2163 cve-icon cve-icon
http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities cve-icon cve-icon
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 cve-icon cve-icon
http://www.debian.org/security/2008/dsa-1612 cve-icon cve-icon
http://www.debian.org/security/2008/dsa-1618 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:140 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:142 cve-icon cve-icon
http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/ cve-icon cve-icon
http://www.redhat.com/archives/fedora-security-commits/2008-June/msg00005.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2008-0561.html cve-icon cve-icon
http://www.ruby-forum.com/topic/157034 cve-icon cve-icon
http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ cve-icon cve-icon
http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html cve-icon cve-icon
http://www.securityfocus.com/archive/1/493688/100/0/threaded cve-icon cve-icon
http://www.securityfocus.com/bid/29903 cve-icon cve-icon
http://www.securitytracker.com/id?1020347 cve-icon cve-icon
http://www.ubuntu.com/usn/usn-621-1 cve-icon cve-icon
http://www.vupen.com/english/advisories/2008/1907/references cve-icon cve-icon
http://www.vupen.com/english/advisories/2008/1981/references cve-icon cve-icon
http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html cve-icon cve-icon
https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/241657 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-2727 cve-icon cve-icon
https://exchange.xforce.ibmcloud.com/vulnerabilities/43350 cve-icon cve-icon
https://issues.rpath.com/browse/RPL-2626 cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2008-2725 cve-icon
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9606 cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2008-2725 cve-icon
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html cve-icon cve-icon
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2024, 9:14 AM
Reserved
Jun 16, 2008, 12:00 AM
Status
Modified
Published
Jun 24, 2008, 7:41 PM
Modified
Jun 16, 2026, 10:54 PM
Severity
Moderate
Public date
Jun 20, 2008, 12:00 AM