CVE-2008-2725 Integer overflow in n/a

High 7.8 Published Updated

Integer overflow in Ruby array functions allows attackers to trigger memory corruption and potentially execute arbitrary code.

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

What is CVE-2008-2725?

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

Official description

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, and 1.8.7 before 1.8.7-p22; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption via unspecified vectors, aka the "REALLOC_N" variant, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2664. 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-189

Which versions are affected by CVE-2008-2725?

It affects 3 products.

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

How do I fix CVE-2008-2725?

Upgrade to a fixed version.

Is CVE-2008-2725 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CVE-2008-2727, GHSA-924x-9756-qq8p.

Is CVE-2008-2725 in your software?

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

Check your SBOMs for free