CVE-2008-2662 Integer overflow in n/a

Critical 10.0 Published Updated

Integer overflows in Ruby's string buffer function allow attackers to execute arbitrary code or cause denial of service via memory corruption.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Not stated
Victim action needed
Not stated
Fix
Available

What is CVE-2008-2662?

CVE-2008-2662 is a critical vulnerability in Canonical Ubuntu Linux, published on 24 Jun 2008.

Official 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.

Weakness: CWE-189

Which versions are affected by CVE-2008-2662?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Ruby-Lang Ruby.

How do I fix CVE-2008-2662?

Upgrade to a fixed version.

Is CVE-2008-2662 being exploited?

There is no known exploitation of CVE-2008-2662 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-6wwf-x53r-5qqq.

Is CVE-2008-2662 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free