CVE-2008-2663: Ruby - Integer Overflow
- Cve: CVE-2008-2663
- Name: Ruby - Integer Overflow
- Description: Multiple integer overflows in the rb_ary_store 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 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors, a different issue than CVE-2008-2662, CVE-2008-2664, and CVE-2008-2725. 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.
- Impact: Attackers can execute arbitrary code or cause denial of service, potentially compromising system stability and security.
- Remediation: Update to the latest patched versions of Ruby 1.8.7 or consider upgrading to a newer Ruby version.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
- Epss score: 0.04456
- Epss percentile: 0.91658
- Assignee: [email protected]
- Published at: 2008-06-24T19:41:00Z
- Age in days: 6727
- Modified at: 2026-06-16T22:54:11Z
- Patch available: yes
- References total: 25
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-2663
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ | Patch, Vendor 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 |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| ruby-lang:ruby | >= 1.8.7, < 1.8.7.22; >= 1.8.6, < 1.8.6.230; > 1.8.5, < 1.8.5.231; <= 1.8.4 | /v1/products/ruby-lang/ruby |
| debian:debian_linux | = 4.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 8.04, = 7.10, = 7.04, = 6.06 | /v1/products/canonical/ubuntu_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 21109361
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports