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 b…
Published 18 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
3.70% probability of exploitation in the next 30 days, higher than 90% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Classification
- Weakness
- CWE-189 Numeric Errors
References
- lists.opensuse.org /opensuse-security-announce/2008-08/msg00006.html · vendor-advisory, x_refsource_SUSE, x_transferred
- support.apple.com /kb/HT2163 · x_refsource_CONFIRM, x_transferred
- secunia.com /advisories/31090 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- weblog.rubyonrails.org /2008/6/21/multiple-ruby-security-vulnerabilities · x_refsource_MISC, x_transferred
- mandriva.com /security/advisories?name=MDVSA-2008:141 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
- secunia.com /advisories/30875 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- vupen.com /english/advisories/2008/1981/references · vdb-entry, x_refsource_VUPEN, x_transferred
- vupen.com /english/advisories/2008/1907/references · vdb-entry, x_refsource_VUPEN, x_transferred
- oval.cisecurity.org /repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9606 · vdb-entry, signature, x_refsource_OVAL, x_transferred
- debian.org /security/2008/dsa-1618 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- bugzilla.redhat.com /show_bug.cgi?id=CVE-2008-2727 · x_refsource_MISC, x_transferred
- secunia.com /advisories/31687 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- secunia.com /advisories/30894 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- exchange.xforce.ibmcloud.com /vulnerabilities/43350 · vdb-entry, x_refsource_XF, x_transferred
- secunia.com /advisories/31062 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- secunia.com /advisories/31256 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- securityfocus.com /archive/1/493688/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
- matasano.com /log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/ · x_refsource_MISC, x_transferred
- slackware.com /security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562 · vendor-advisory, x_refsource_SLACKWARE, x_transferred
- lists.apple.com /archives/security-announce/2008//Jun/msg00002.html · vendor-advisory, x_refsource_APPLE, x_transferred
- securitytracker.com /id?1020347 · vdb-entry, x_refsource_SECTRACK, x_transferred
- rubyinside.com /june-2008-ruby-security-vulnerabilities-927.html · x_refsource_MISC, x_transferred
- redhat.com /archives/fedora-security-commits/2008-June/msg00005.html · mailing-list, x_refsource_MLIST, x_transferred
- wiki.rpath.com /wiki/Advisories:rPSA-2008-0206 · x_refsource_CONFIRM, x_transferred
- bugs.launchpad.net /ubuntu/+source/ruby1.8/+bug/241657 · x_refsource_CONFIRM, x_transferred
- redhat.com /archives/fedora-package-announce/2008-June/msg00937.html · vendor-advisory, x_refsource_FEDORA, x_transferred
- mandriva.com /security/advisories?name=MDVSA-2008:140 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
- secunia.com /advisories/30802 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- secunia.com /advisories/30831 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- redhat.com /support/errata/RHSA-2008-0561.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- issues.rpath.com /browse/RPL-2626 · x_refsource_CONFIRM, x_transferred
- debian.org /security/2008/dsa-1612 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- security.gentoo.org /glsa/glsa-200812-17.xml · vendor-advisory, x_refsource_GENTOO, x_transferred
- secunia.com /advisories/33178 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- securityfocus.com /bid/29903 · vdb-entry, x_refsource_BID, x_transferred
- zedshaw.com /rants/the_big_ruby_vulnerabilities.html · x_refsource_MISC, x_transferred
- secunia.com /advisories/30867 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- mandriva.com /security/advisories?name=MDVSA-2008:142 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
- ruby-lang.org /en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ · x_refsource_CONFIRM, x_transferred
- ruby-forum.com /topic/157034 · x_refsource_MISC, x_transferred
- blog.phusion.nl /2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/ · Third Party Advisory
- secunia.com /advisories/31181 · Third Party Advisory
- ubuntu.com /usn/usn-621-1 · Third Party Advisory
Sources
- CVE List: CVE-2008-2725
- NVD: CVE-2008-2725
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.