First published: Tue Jun 24 2008(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Ruby | <=1.8.4 | |
Ruby | >=1.8.5<1.8.5.231 | |
Ruby | >=1.8.6<1.8.6.230 | |
Ruby | >=1.8.7<1.8.7.22 | |
Ruby | >=1.9.0<1.9.0.2 | |
Debian GNU/Linux | =4.0 | |
Ubuntu Linux | =6.06 | |
Ubuntu Linux | =7.04 | |
Ubuntu Linux | =7.10 | |
Ubuntu Linux | =8.04 | |
Debian | =4.0 | |
Ubuntu | =6.06 | |
Ubuntu | =7.04 | |
Ubuntu | =7.10 | |
Ubuntu | =8.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2008-2726 has a moderate severity rating due to potential memory corruption caused by integer overflow.
To fix CVE-2008-2726, upgrade Ruby to version 1.8.5-p231 or later, or to version 1.8.6-p230 or later.
CVE-2008-2726 affects Ruby versions 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, and several other specific versions up to 1.9.0-2.
Yes, CVE-2008-2726 can be exploited by context-dependent attackers to trigger memory corruption.
If using an affected version of Ruby, immediately update to a patched version to mitigate the vulnerability.