CVE Vulnerabilities

CVE-2008-2726

Published: Jun 24, 2008 | Modified: Apr 09, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.8 HIGH
AV:N/AC:L/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Integer overflow in the (1) rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption, aka the beg + rlen issue. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. The CVE description should be regarded as authoritative, although it is likely to change.

Affected Software

NameVendorStart VersionEnd Version
RubyRuby-lang*1.8.4 (including)
RubyRuby-lang1.8.5 (including)1.8.5.231 (excluding)
RubyRuby-lang1.8.6 (including)1.8.6.230 (excluding)
RubyRuby-lang1.8.7 (including)1.8.7.22 (excluding)
RubyRuby-lang1.9.0 (including)1.9.0.2 (excluding)
Red Hat Enterprise Linux 2.1RedHatruby-0:1.6.4-6.el2*
Red Hat Enterprise Linux 3RedHatruby-0:1.6.8-12.el3*
Red Hat Enterprise Linux 4RedHatruby-0:1.8.1-7.el4_6.1*
Red Hat Enterprise Linux 5RedHatruby-0:1.8.5-5.el5_2.3*
Ruby1.8Ubuntudapper*
Ruby1.8Ubuntufeisty*
Ruby1.8Ubuntugutsy*
Ruby1.8Ubuntuhardy*
Ruby1.8Ubuntuupstream*
Ruby1.9Ubuntudapper*
Ruby1.9Ubuntufeisty*
Ruby1.9Ubuntugutsy*
Ruby1.9Ubuntuhardy*
Ruby1.9Ubuntuintrepid*
Ruby1.9Ubuntujaunty*
Ruby1.9Ubuntukarmic*
Ruby1.9Ubuntulucid*
Ruby1.9Ubuntuupstream*

References