Vulnerabilities · 2012 · Ruby-lang
CVE-2012-4466
Ruby-lang Ruby vulnerability
Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the name_err_mesg_to_str API function, which marks the string as tainted, a different vulnerability than CVE-2011-1005.
Affected products
Ruby. 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/2012/10/12/cve-2012-4464-cve-2012-4466/ · Vendor Advisory
- lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html
- lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html
- svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
- www.mandriva.com/security/advisories?name=MDVSA-2013:124
- www.openwall.com/lists/oss-security/2012/10/02/4
- www.openwall.com/lists/oss-security/2012/10/03/9
- bugzilla.redhat.com/show_bug.cgi?id=862614
- nvd.nist.gov/vuln/detail/CVE-2012-4466
- cve.org/CVERecord?id=CVE-2012-4466
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.