What’s Vulnerable › Vulnerabilities
CVE-2012-4466
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2013-04-25 · updated 2026-06-16
- Weakness: CWE-264
Description
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: 1.8.7, 1.8.7-p160, 1.8.7-p17, 1.8.7-p173, 1.8.7-p174, 1.8.7-p22 (+28)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://www.openwall.com/lists/oss-security/2012/10/02/4
- http://www.openwall.com/lists/oss-security/2012/10/03/9
- http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/
- https://bugzilla.redhat.com/show_bug.cgi?id=862614
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
Get alerted when CVE-2012-4466 or the next vulnerability affects your stack