Bug 450825 - (CVE-2008-2663) CVE-2008-2663 ruby: Integer overflows in rb_ary_store()
CVE-2008-2663 ruby: Integer overflows in rb_ary_store()
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
source=vendorsec,reported=20080605,pu...
: Security
Depends On: 451926 451927 451928 451929 451930 451931 452293 452294 452295
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-11 04:50 EDT by Tomas Hoger
Modified: 2016-03-04 07:12 EST (History)
2 users (show)

See Also:
Fixed In Version: 1.8.6.230-1.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-26 02:02:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Drew Yao's proposed patch against ruby 1.8.5 (471 bytes, patch)
2008-06-11 04:51 EDT, Tomas Hoger
no flags Details | Diff
Drew Yao's proposed patch against ruby 1.9 (497 bytes, patch)
2008-06-11 04:52 EDT, Tomas Hoger
no flags Details | Diff

  None (edit)
Description Tomas Hoger 2008-06-11 04:50:56 EDT
Drew Yao of the Apple Product Security team reported an integer overflow leading
to a memory mis-allocation and heap overflow in the rb_ary_store() function
used by ruby interpreter for handling arrays.  This can be used to crash and
possibly execute arbitrary code with the privileges of Ruby application which
use untrusted input in array operations.

Acknowledgements:

Red Hat would like to thank Drew Yao of the Apple Product Security team for reporting this issue.
Comment 1 Tomas Hoger 2008-06-11 04:51:55 EDT
Created attachment 308906 [details]
Drew Yao's proposed patch against ruby 1.8.5
Comment 2 Tomas Hoger 2008-06-11 04:52:16 EDT
Created attachment 308907 [details]
Drew Yao's proposed patch against ruby 1.9
Comment 6 Tomas Hoger 2008-06-20 14:52:41 EDT
Public now, lifting embargo:
http://preview.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities

Upstream released fixed versions:
1.8.5-p231, 1.8.6-p230, 1.8.7-p22, 1.9.0-2

Patches applied upstream:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17460
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17472
Comment 8 Fedora Update System 2008-06-23 23:21:24 EDT
ruby-1.8.6.230-1.fc8 has been submitted as an update for Fedora 8
Comment 9 Fedora Update System 2008-06-24 01:17:47 EDT
ruby-1.8.6.230-1.fc9 has been submitted as an update for Fedora 9
Comment 10 Fedora Update System 2008-06-24 22:50:36 EDT
ruby-1.8.6.230-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2008-06-24 22:52:04 EDT
ruby-1.8.6.230-1.fc9 has been pushed to the Fedora 9 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.