CVE-2008-2725

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/

http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html

http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html

http://secunia.com/advisories/30802

http://secunia.com/advisories/30831

http://secunia.com/advisories/30867

http://secunia.com/advisories/30875

http://secunia.com/advisories/30894

http://secunia.com/advisories/31062

http://secunia.com/advisories/31090

http://secunia.com/advisories/31181

http://secunia.com/advisories/31256

http://secunia.com/advisories/31687

http://secunia.com/advisories/33178

http://security.gentoo.org/glsa/glsa-200812-17.xml

http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562

http://support.apple.com/kb/HT2163

http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities

http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206

http://www.debian.org/security/2008/dsa-1612

http://www.debian.org/security/2008/dsa-1618

http://www.mandriva.com/security/advisories?name=MDVSA-2008:140

http://www.mandriva.com/security/advisories?name=MDVSA-2008:141

http://www.mandriva.com/security/advisories?name=MDVSA-2008:142

http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/

http://www.redhat.com/archives/fedora-security-commits/2008-June/msg00005.html

http://www.redhat.com/support/errata/RHSA-2008-0561.html

http://www.ruby-forum.com/topic/157034

http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html

http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/

http://www.securityfocus.com/archive/1/493688/100/0/threaded

http://www.securityfocus.com/bid/29903

http://www.securitytracker.com/id?1020347

http://www.ubuntu.com/usn/usn-621-1

http://www.vupen.com/english/advisories/2008/1907/references

http://www.vupen.com/english/advisories/2008/1981/references

http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html

https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/241657

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-2727

https://exchange.xforce.ibmcloud.com/vulnerabilities/43350

https://issues.rpath.com/browse/RPL-2626

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9606

https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html

Details

Source: MITRE

Published: 2008-06-24

Updated: 2018-11-01

Type: CWE-189

Risk Information

CVSS v2

Base Score: 7.8

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C

Impact Score: 6.9

Exploitability Score: 10

Severity: HIGH

Tenable Plugins

View all (24 total)

IDNameProductFamilySeverity
67717Oracle Linux 3 : ruby (ELSA-2008-0562)NessusOracle Linux Local Security Checks
critical
67716Oracle Linux 4 / 5 : ruby (ELSA-2008-0561)NessusOracle Linux Local Security Checks
critical
60442Scientific Linux Security Update : ruby on SL4.x, SL5.x i386/x86_64NessusScientific Linux Local Security Checks
critical
60441Scientific Linux Security Update : ruby on SL3.x i386/x86_64NessusScientific Linux Local Security Checks
critical
43694CentOS 4 / 5 : ruby (CESA-2008:0561)NessusCentOS Local Security Checks
critical
41228SuSE9 Security Update : Ruby (YOU Patch Number 12214)NessusSuSE Local Security Checks
critical
40121openSUSE Security Update : ruby (ruby-123)NessusSuSE Local Security Checks
critical
37401Mandriva Linux Security Advisory : ruby (MDVSA-2008:141)NessusMandriva Local Security Checks
critical
36689Mandriva Linux Security Advisory : ruby (MDVSA-2008:140)NessusMandriva Local Security Checks
critical
35188GLSA-200812-17 : Ruby: Multiple vulnerabilitiesNessusGentoo Local Security Checks
critical
34028openSUSE 10 Security Update : ruby (ruby-5483)NessusSuSE Local Security Checks
critical
34020SuSE 10 Security Update : Ruby (ZYPP Patch Number 5484)NessusSuSE Local Security Checks
critical
33738Debian DSA-1618-1 : ruby1.9 - several vulnerabilitiesNessusDebian Local Security Checks
critical
33551Debian DSA-1612-1 : ruby1.8 - several vulnerabilitiesNessusDebian Local Security Checks
critical
33496RHEL 2.1 / 3 : ruby (RHSA-2008:0562)NessusRed Hat Local Security Checks
critical
33495RHEL 4 / 5 : ruby (RHSA-2008:0561)NessusRed Hat Local Security Checks
critical
33489CentOS 3 : ruby (CESA-2008:0562)NessusCentOS Local Security Checks
critical
33390Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : ruby1.8 vulnerabilities (USN-621-1)NessusUbuntu Local Security Checks
critical
33287Slackware 11.0 / 12.0 / 12.1 / current : ruby (SSA:2008-179-01)NessusSlackware Local Security Checks
critical
33282Mac OS X Multiple Vulnerabilities (Security Update 2008-004)NessusMacOS X Local Security Checks
critical
33281Mac OS X 10.5.x < 10.5.4 Multiple VulnerabilitiesNessusMacOS X Local Security Checks
critical
33261Fedora 9 : ruby-1.8.6.230-1.fc9 (2008-5664)NessusFedora Local Security Checks
critical
33260Fedora 8 : ruby-1.8.6.230-1.fc8 (2008-5649)NessusFedora Local Security Checks
critical
4564Mac OS X < 10.5.4 Multiple VulnerabilitiesNessus Network MonitorGeneric
critical