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...
High CVSS 7.5
- CVE id
- CVE-2008-2376
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Ruby Runtimes and servers |
1.8.6.230 | not fixed yet |
How to fix it
No fix yet. No fixed Ruby release is listed yet.
ruby --version
- Check the advisory and its references below for a workaround or a configuration change that turns off the affected feature.
- Limit exposure: don't pass untrusted input to the affected code path, and keep it off public endpoints if you can.
- Install the patched Ruby release of your minor line (rbenv, the ruby image tag) and update .ruby-version.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Integer overflow in the rbaryfill 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 ARYMAXSIZE. NOTE: this issue exists because of an incomplete fix for other closely related integer overflows.
References
- CVE-2008-2376 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2008-2376
- Web: https://issues.rpath.com/browse/RPL-2639
- Web: https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9863
- Web: https://usn.ubuntu.com/651-1/
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00112.html
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00161.html
- Web: https://issues.rpath.com/browse/RPL-2639
- Web: https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9863
- Web: https://usn.ubuntu.com/651-1/
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00112.html
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00161.html
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.