Skip to content
OpenAdvisories
Unscored CVE-2008-2376 EUVD-2008-2371GHSA-f7wf-fwmg-r7g3

Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 allows context-dependent attackers to cause a denial …

Published Jul 9, 2008 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 ruby1.8 1.8.5-4etch2 DSA-1612-1
Debian 4.0 ruby1.9 1.9.0+20060609-1etch2 DSA-1618-1
ReleasePackageFixed inAdvisory
RHEL 5 ruby +8 1.8.5-5.el5_2.3 RHSA-2008:0561
RHEL 4 irb +6 1.8.1-7.el4_6.1 RHSA-2008:0561
RHEL 3 irb +6 1.6.8-12.el3 RHSA-2008:0562
RHEL 2 irb +5 1.6.4-6.el2 RHSA-2008:0562

Advisories 4

References