CVE-2008-2662

Description

Multiple integer overflows in the rb_str_buf_append 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 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors that trigger memory corruption, a different issue than CVE-2008-2663, CVE-2008-2664, and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. This CVE description should be regarded as authoritative, although it is likely to change.

Category

10.0
CVSS
Severity: Critical
CVSS 2.0 •
EPSS 1.60% Top 20%
Vendor Advisory opensuse.org Vendor Advisory mandriva.com Vendor Advisory debian.org Vendor Advisory slackware.com Vendor Advisory apple.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory mandriva.com Vendor Advisory ubuntu.com Vendor Advisory ruby-lang.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html third party advisory vendor advisory
http://support.apple.com/kb/HT2163 third party advisory
http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 third party advisory vendor advisory
http://secunia.com/advisories/30875 third party advisory
http://www.vupen.com/english/advisories/2008/1981/references vdb entry third party advisory
http://www.vupen.com/english/advisories/2008/1907/references vdb entry third party advisory
http://www.debian.org/security/2008/dsa-1618 third party advisory vendor advisory
http://secunia.com/advisories/31687 third party advisory
http://secunia.com/advisories/30894 third party advisory
http://secunia.com/advisories/31062 third party advisory
http://secunia.com/advisories/31256 third party advisory
http://www.securityfocus.com/archive/1/493688/100/0/threaded mailing list vdb entry third party advisory
http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/ third party advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562 mailing list third party advisory vendor advisory
http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html mailing list third party advisory vendor advisory
http://www.securitytracker.com/id?1020347 vdb entry third party advisory
http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html third party advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 broken link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11601 vdb entry third party advisory signature
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html third party advisory vendor advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:140 third party advisory vendor advisory
http://secunia.com/advisories/30802 third party advisory
http://secunia.com/advisories/30831 third party advisory
http://www.redhat.com/support/errata/RHSA-2008-0561.html third party advisory vendor advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/43345 vdb entry third party advisory
https://issues.rpath.com/browse/RPL-2626 broken link
http://www.debian.org/security/2008/dsa-1612 third party advisory vendor advisory
http://security.gentoo.org/glsa/glsa-200812-17.xml third party advisory vendor advisory
http://secunia.com/advisories/33178 third party advisory
http://www.securityfocus.com/bid/29903 vdb entry third party advisory
http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html broken link
http://secunia.com/advisories/30867 third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:142 third party advisory vendor advisory
http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ patch vendor advisory
http://www.ruby-forum.com/topic/157034 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://www.ubuntu.com/usn/usn-621-1 third party advisory vendor advisory
http://secunia.com/advisories/31181 third party advisory

Frequently Asked Questions

What is the severity of CVE-2008-2662?
CVE-2008-2662 has been scored as a critical severity vulnerability.
How to fix CVE-2008-2662?
To fix CVE-2008-2662, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2008-2662 being actively exploited in the wild?
It is possible that CVE-2008-2662 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.