Bug 453589 (CVE-2008-2376) - CVE-2008-2376 ruby: integer overflows in rb_ary_fill() / Array#fill
Summary: CVE-2008-2376 ruby: integer overflows in rb_ary_fill() / Array#fill
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-2376
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 451926 451927 451928 451929 451930 451931
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-01 14:07 UTC by Tomas Hoger
Modified: 2019-09-29 12:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-21 09:29:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0561 0 normal SHIPPED_LIVE Moderate: ruby security update 2008-07-16 14:14:30 UTC
Red Hat Product Errata RHSA-2008:0562 0 normal SHIPPED_LIVE Moderate: ruby security update 2008-07-14 13:43:04 UTC

Description Tomas Hoger 2008-07-01 14:07:14 UTC
It was discovered that implementation of Ruby Array's fill method is affected by
a multiple integer overflows.  Problem occurred in rb_ary_fill() function in
array.c and could result in insufficient memory allocations resulting in a heap
overflow.

First patch to address integer overflow condition was added upstream (in 1.8.6
branch) in following commit:

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13397

That change was insufficient and need to be replaced with following patch:

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/array.c?r1=17475&r2=17759

This was applied in 1.8.6-p257:

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17759

Comment 1 Tomas Hoger 2008-07-01 14:07:52 UTC
Issue was already addressed in Fedora packages in ruby-1.8.6.230-4.

Comment 3 Tomas Hoger 2008-07-02 07:54:50 UTC
Public now via:

  http://www.openwall.com/lists/oss-security/2008/07/02/3

Comment 5 Fedora Update System 2008-07-03 00:16:21 UTC
ruby-1.8.6.230-4.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-07-03 03:15:42 UTC
ruby-1.8.6.230-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2008-07-04 03:40:42 UTC
ruby-1.8.6.230-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.