Bug 451835 (CVE-2008-2727) - CVE-2008-2727 ruby: integer overflow in rb_ary_replace() (ruby-1.6.x) - REALLOC_N
Summary: CVE-2008-2727 ruby: integer overflow in rb_ary_replace() (ruby-1.6.x) - REALL...
Keywords:
Status: CLOSED DUPLICATE of bug 451821
Alias: CVE-2008-2727
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-17 18:05 UTC by Tomas Hoger
Modified: 2019-09-29 12:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-01 06:58:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2008-06-17 18:05:09 UTC
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_splice() function
used by ruby interpreter for handling arrays.  For details, see:

  https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-2725

Ruby 1.6.x does not have rb_ary_splice(), but the same vulnerable code exists in
the rb_ary_replace() function.  This issue is a ruby 1.6.x equivalent of
CVE-2008-2725.

Comment 1 Tomas Hoger 2008-06-17 18:06:15 UTC
Drew Yao's patch for rb_ary_splice():

  https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-2725#c1

Comment 5 Tomas Hoger 2008-07-01 06:58:54 UTC
Based on the analysis noted in the:

  https://bugzilla.redhat.com/show_bug.cgi?id=451821#c12

it was decided to reject this CVE id and use only CVE-2008-2725 to cover this
issue in all ruby versions.

*** This bug has been marked as a duplicate of 451821 ***


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