What’s Vulnerable › Vulnerabilities
CVE-2012-4464
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% 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.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 (1) exc_to_s or (2) name_err_to_s API function, which marks the string as tainted, a different vulnerability than CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005 regression.
Affected products
- Ruby: 1.9.3, 1.9.3-p0, 1.9.3-p125, 1.9.3-p194, 2.0, 2.0.0 (+5)
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.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=862598
- 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.openwall.com/lists/oss-security/2012/10/02/4
- http://www.openwall.com/lists/oss-security/2012/10/03/9
Get alerted when CVE-2012-4464 or the next vulnerability affects your stack