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.
References
Link Resource
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.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html Third Party Advisory
http://secunia.com/advisories/30802 Third Party Advisory
http://secunia.com/advisories/30831 Third Party Advisory
http://secunia.com/advisories/30867 Third Party Advisory
http://secunia.com/advisories/30875 Third Party Advisory
http://secunia.com/advisories/30894 Third Party Advisory
http://secunia.com/advisories/31062 Third Party Advisory
http://secunia.com/advisories/31090 Third Party Advisory
http://secunia.com/advisories/31181 Third Party Advisory
http://secunia.com/advisories/31256 Third Party Advisory
http://secunia.com/advisories/31687 Third Party Advisory
http://secunia.com/advisories/33178 Third Party Advisory
http://security.gentoo.org/glsa/glsa-200812-17.xml Third Party Advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562 Third Party Advisory
http://support.apple.com/kb/HT2163 Third Party Advisory
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17460 Vendor Advisory
http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities Third Party Advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 Broken Link
http://www.debian.org/security/2008/dsa-1612 Third Party Advisory
http://www.debian.org/security/2008/dsa-1618 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:140 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:142 Third 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.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0561.html Third Party Advisory
http://www.ruby-forum.com/topic/157034 Third 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.html Third Party Advisory
http://www.securityfocus.com/archive/1/493688/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/29903 Third Party Advisory VDB Entry
http://www.securitytracker.com/id?1020347 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/usn-621-1 Third Party Advisory
http://www.vupen.com/english/advisories/2008/1907/references Third Party Advisory
http://www.vupen.com/english/advisories/2008/1981/references Third Party Advisory
http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html Broken Link
https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/241657 Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/43351 Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-2626 Broken Link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9959 Third Party Advisory
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html Third Party Advisory
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.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html Third Party Advisory
http://secunia.com/advisories/30802 Third Party Advisory
http://secunia.com/advisories/30831 Third Party Advisory
http://secunia.com/advisories/30867 Third Party Advisory
http://secunia.com/advisories/30875 Third Party Advisory
http://secunia.com/advisories/30894 Third Party Advisory
http://secunia.com/advisories/31062 Third Party Advisory
http://secunia.com/advisories/31090 Third Party Advisory
http://secunia.com/advisories/31181 Third Party Advisory
http://secunia.com/advisories/31256 Third Party Advisory
http://secunia.com/advisories/31687 Third Party Advisory
http://secunia.com/advisories/33178 Third Party Advisory
http://security.gentoo.org/glsa/glsa-200812-17.xml Third Party Advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562 Third Party Advisory
http://support.apple.com/kb/HT2163 Third Party Advisory
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17460 Vendor Advisory
http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities Third Party Advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 Broken Link
http://www.debian.org/security/2008/dsa-1612 Third Party Advisory
http://www.debian.org/security/2008/dsa-1618 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:140 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:142 Third 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.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0561.html Third Party Advisory
http://www.ruby-forum.com/topic/157034 Third 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.html Third Party Advisory
http://www.securityfocus.com/archive/1/493688/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/29903 Third Party Advisory VDB Entry
http://www.securitytracker.com/id?1020347 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/usn-621-1 Third Party Advisory
http://www.vupen.com/english/advisories/2008/1907/references Third Party Advisory
http://www.vupen.com/english/advisories/2008/1981/references Third Party Advisory
http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html Broken Link
https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/241657 Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/43351 Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-2626 Broken Link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9959 Third Party Advisory
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:*

History

21 Nov 2024, 00:47

Type Values Removed Values Added
References () http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/ - Third Party Advisory () http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/ - Third Party Advisory
References () http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html - Mailing List, Third Party Advisory () http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html - Mailing List, Third Party Advisory
References () http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html - Third Party Advisory () http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html - Third Party Advisory
References () http://secunia.com/advisories/30802 - Third Party Advisory () http://secunia.com/advisories/30802 - Third Party Advisory
References () http://secunia.com/advisories/30831 - Third Party Advisory () http://secunia.com/advisories/30831 - Third Party Advisory
References () http://secunia.com/advisories/30867 - Third Party Advisory () http://secunia.com/advisories/30867 - Third Party Advisory
References () http://secunia.com/advisories/30875 - Third Party Advisory () http://secunia.com/advisories/30875 - Third Party Advisory
References () http://secunia.com/advisories/30894 - Third Party Advisory () http://secunia.com/advisories/30894 - Third Party Advisory
References () http://secunia.com/advisories/31062 - Third Party Advisory () http://secunia.com/advisories/31062 - Third Party Advisory
References () http://secunia.com/advisories/31090 - Third Party Advisory () http://secunia.com/advisories/31090 - Third Party Advisory
References () http://secunia.com/advisories/31181 - Third Party Advisory () http://secunia.com/advisories/31181 - Third Party Advisory
References () http://secunia.com/advisories/31256 - Third Party Advisory () http://secunia.com/advisories/31256 - Third Party Advisory
References () http://secunia.com/advisories/31687 - Third Party Advisory () http://secunia.com/advisories/31687 - Third Party Advisory
References () http://secunia.com/advisories/33178 - Third Party Advisory () http://secunia.com/advisories/33178 - Third Party Advisory
References () http://security.gentoo.org/glsa/glsa-200812-17.xml - Third Party Advisory () http://security.gentoo.org/glsa/glsa-200812-17.xml - Third Party Advisory
References () http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562 - Third Party Advisory () http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562 - Third Party Advisory
References () http://support.apple.com/kb/HT2163 - Third Party Advisory () http://support.apple.com/kb/HT2163 - Third Party Advisory
References () http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17460 - Vendor Advisory () http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17460 - Vendor Advisory
References () http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities - Third Party Advisory () http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities - Third Party Advisory
References () http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 - Broken Link () http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 - Broken Link
References () http://www.debian.org/security/2008/dsa-1612 - Third Party Advisory () http://www.debian.org/security/2008/dsa-1612 - Third Party Advisory
References () http://www.debian.org/security/2008/dsa-1618 - Third Party Advisory () http://www.debian.org/security/2008/dsa-1618 - Third Party Advisory
References () http://www.mandriva.com/security/advisories?name=MDVSA-2008:140 - Third Party Advisory () http://www.mandriva.com/security/advisories?name=MDVSA-2008:140 - Third Party Advisory
References () http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 - Third Party Advisory () http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 - Third Party Advisory
References () http://www.mandriva.com/security/advisories?name=MDVSA-2008:142 - Third Party Advisory () http://www.mandriva.com/security/advisories?name=MDVSA-2008:142 - Third Party Advisory
References () http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/ - Third Party Advisory () http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/ - Third Party Advisory
References () http://www.redhat.com/archives/fedora-security-commits/2008-June/msg00005.html - Third Party Advisory () http://www.redhat.com/archives/fedora-security-commits/2008-June/msg00005.html - Third Party Advisory
References () http://www.redhat.com/support/errata/RHSA-2008-0561.html - Third Party Advisory () http://www.redhat.com/support/errata/RHSA-2008-0561.html - Third Party Advisory
References () http://www.ruby-forum.com/topic/157034 - Third Party Advisory () http://www.ruby-forum.com/topic/157034 - Third Party Advisory
References () http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ - Patch, Vendor Advisory () http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ - Patch, Vendor Advisory
References () http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html - Third Party Advisory () http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html - Third Party Advisory
References () http://www.securityfocus.com/archive/1/493688/100/0/threaded - Third Party Advisory, VDB Entry () http://www.securityfocus.com/archive/1/493688/100/0/threaded - Third Party Advisory, VDB Entry
References () http://www.securityfocus.com/bid/29903 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/29903 - Third Party Advisory, VDB Entry
References () http://www.securitytracker.com/id?1020347 - Third Party Advisory, VDB Entry () http://www.securitytracker.com/id?1020347 - Third Party Advisory, VDB Entry
References () http://www.ubuntu.com/usn/usn-621-1 - Third Party Advisory () http://www.ubuntu.com/usn/usn-621-1 - Third Party Advisory
References () http://www.vupen.com/english/advisories/2008/1907/references - Third Party Advisory () http://www.vupen.com/english/advisories/2008/1907/references - Third Party Advisory
References () http://www.vupen.com/english/advisories/2008/1981/references - Third Party Advisory () http://www.vupen.com/english/advisories/2008/1981/references - Third Party Advisory
References () http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html - Broken Link () http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html - Broken Link
References () https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/241657 - Third Party Advisory () https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/241657 - Third Party Advisory
References () https://exchange.xforce.ibmcloud.com/vulnerabilities/43351 - Third Party Advisory, VDB Entry () https://exchange.xforce.ibmcloud.com/vulnerabilities/43351 - Third Party Advisory, VDB Entry
References () https://issues.rpath.com/browse/RPL-2626 - Broken Link () https://issues.rpath.com/browse/RPL-2626 - Broken Link
References () https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9959 - Third Party Advisory () https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9959 - Third Party Advisory
References () https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html - Third Party Advisory () https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html - Third Party Advisory

Information

Published : 2008-06-24 19:41

Updated : 2024-11-21 00:47


NVD link : CVE-2008-2726

Mitre link : CVE-2008-2726

CVE.ORG link : CVE-2008-2726


JSON object : View

Products Affected

debian

  • debian_linux

canonical

  • ubuntu_linux

ruby-lang

  • ruby
CWE
CWE-189

Numeric Errors