CVE-2008-2376
CVE-2008-2376 is a high-severity vulnerability in Ruby-lang Ruby with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-189.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 4% (88th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-189
- Affected product: Ruby-lang Ruby
- Published:
- Last modified:
Description
Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 allows context-dependent attackers to cause a denial of service (crash) or possibly have unspecified other impact via a call to the Array#fill method with a start (aka beg) argument greater than ARY_MAX_SIZE. NOTE: this issue exists because of an incomplete fix for other closely related integer overflows.
Frequently asked questions
- What is CVE-2008-2376?
- Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 allows context-dependent attackers to cause a denial of service (crash) or possibly have unspecified other impact via a call to the Array#fill method with a start (aka beg) argument greater than ARY_MAX_SIZE. NOTE: this issue exists because of an incomplete fix for other closely related integer overflows.
- How severe is CVE-2008-2376?
- CVE-2008-2376 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2008-2376 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-2376?
- CVE-2008-2376 affects Ruby-lang Ruby. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2008-2376?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2008-2376 published?
- CVE-2008-2376 was published on 2008-07-09 and last updated on 2026-06-16.
References
- http://lists.apple.com/archives/security-announce//2008/Sep/msg00005.html
- http://secunia.com/advisories/30927
- http://secunia.com/advisories/31006
- http://secunia.com/advisories/31062
- http://secunia.com/advisories/31090
- http://secunia.com/advisories/31181
- http://secunia.com/advisories/31256
- http://secunia.com/advisories/32219
- http://secunia.com/advisories/33178
- http://security.gentoo.org/glsa/glsa-200812-17.xml
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17756
- http://wiki.rpath.com/Advisories:rPSA-2008-0218
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0218
- 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.openwall.com/lists/oss-security/2008/07/02/3
- http://www.redhat.com/support/errata/RHSA-2008-0561.html
- http://www.securityfocus.com/archive/1/494104/100/0/threaded
- http://www.us-cert.gov/cas/techalerts/TA08-260A.html
- http://www.vupen.com/english/advisories/2008/2584
- https://issues.rpath.com/browse/RPL-2639
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9863
- https://usn.ubuntu.com/651-1/
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00112.html
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00161.html
Affected products (1)
- cpe:2.3:a:ruby-lang:ruby:1.8.6.230:*:*:*:*:*:*:*
More vulnerabilities in Ruby-lang Ruby
- CVE-2009-4124 — Critical (CVSS 10.0): Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows…
- CVE-2008-2662 — Critical (CVSS 10.0): 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…
- CVE-2008-2663 — Critical (CVSS 10.0): 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…
- CVE-2016-2338 — Critical (CVSS 9.8): An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby. In…
- CVE-2022-28738 — Critical (CVSS 9.8): A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to…
- CVE-2011-4121 — Critical (CVSS 9.8): The OpenSSL extension of Ruby (Git trunk) versions after 2011-09-01 up to 2011-11-03 always generated an exponent value…
All CVEs affecting Ruby-lang Ruby →
Other CWE-189 (Numeric Errors) vulnerabilities
- CVE-2015-8396 — Critical (CVSS 10.0): Integer overflow in the ImageRegionReader::ReadIntoBuffer function in…
- CVE-2015-7205 — Critical (CVSS 10.0): Integer underflow in the RTPReceiverVideo::ParseRtpPacket function in Mozilla Firefox before 43.0 and Firefox ESR 38.x…
- CVE-2015-6575 — Critical (CVSS 10.0): SampleTable.cpp in libstagefright in Android before 5.1.1 LMY48I does not properly consider integer promotion, which…
- CVE-2015-3864 — Critical (CVSS 10.0): Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in…
- CVE-2015-3836 — Critical (CVSS 10.0): The Parse_wave function in arm-wt-22k/lib_src/eas_mdls.c in the Sonivox DLS-to-EAS converter in Android before 5.1.1…
- CVE-2015-3834 — Critical (CVSS 10.0): Multiple integer overflows in the BnHDCP::onTransact function in media/libmedia/IHDCP.cpp in libstagefright in Android…