7.8
CWE
399
Advisory Published
Updated

CVE-2008-2664

First published: Tue Jun 24 2008(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2008-2664?

    CVE-2008-2664 is considered to have moderate severity due to potential memory corruption that could lead to application crashes.

  • How do I fix CVE-2008-2664?

    To fix CVE-2008-2664, you should upgrade Ruby to a version later than 1.8.7-p22 or 1.9.0-2.

  • Which versions of Ruby are affected by CVE-2008-2664?

    CVE-2008-2664 affects Ruby versions 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.

  • Is CVE-2008-2664 related to any other vulnerabilities?

    CVE-2008-2664 is a different issue than CVE-2008-2662 and should be addressed independently.

  • What type of attack is associated with CVE-2008-2664?

    CVE-2008-2664 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to the alloca function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203