CVE-2008-2662

Critical

Description

Multiple integer overflows in the rb_str_buf_append 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 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors that trigger memory corruption, a different issue than CVE-2008-2663, CVE-2008-2664, and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. This CVE description should be regarded as authoritative, although it is likely to change.

SeverityCritical
CVSS10.0
Exploit probability—
ProductRuby
PublishedJun 24, 2008
First seenJun 24, 2008

How to fix

Update
  • ruby-lang ruby1.8.5.231, 1.8.6.230, 1.8.7.22, 1.9.0.2 or later

Affected products

ProductAffected versionsFixed in
ruby-lang rubyv ≤ 1.8.4, 1.8.5 < v < 1.8.5.231, 1.8.6 ≤ v < 1.8.6.230, 1.8.7 ≤ v < 1.8.7.22, 1.9.0 ≤ v < 1.9.0.21.8.5.231, 1.8.6.230, 1.8.7.22, 1.9.0.2
debian debian_linux4.0—
canonical ubuntu_linux6.06, 7.04, 7.10, 8.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2008-2662 · Ruby · Dark Radar