CVE-2008-2664 Memory corruption in n/a

High 7.8 Published Updated

Attackers can trigger memory corruption in the Ruby string formatting function, potentially leading to code execution or denial of service.

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

What is CVE-2008-2664?

CVE-2008-2664 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 24 Jun 2008.

Official description

The rb_str_format 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 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to alloca, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2725. 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.

Weakness: CWE-399

Which versions are affected by CVE-2008-2664?

It affects 3 products.

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

How do I fix CVE-2008-2664?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2008-2664 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-c4h6-p7gp-39x2.

Is CVE-2008-2664 in your software?

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

Check your SBOMs for free