Vulnerabilities · 2008 · Ruby-lang
CVE-2008-2664
Ruby-lang Ruby vulnerability
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.
Affected products
Ruby, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ · Patch
- blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the- · Third Party Advisory
- lists.apple.com/archives/security-announce/2008//Jun/msg00002.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html · Third Party Advisory
- secunia.com/advisories/30802 · Third Party Advisory
- secunia.com/advisories/30831 · Third Party Advisory
- secunia.com/advisories/30867 · Third Party Advisory
- secunia.com/advisories/30875 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2008-2664
- cve.org/CVERecord?id=CVE-2008-2664
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.