CVE-2012-4466

Summary

CVECVE-2012-4466
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-04-25 23:55:01 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionRuby 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:P/A:N

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ruby-lang Ruby 1.8.7 All All All
Application Ruby-lang Ruby 1.8.7 p160 All All
Application Ruby-lang Ruby 1.8.7 p17 All All
Application Ruby-lang Ruby 1.8.7 p173 All All
Application Ruby-lang Ruby 1.8.7 p174 All All
Application Ruby-lang Ruby 1.8.7 p22 All All
Application Ruby-lang Ruby 1.8.7 p248 All All
Application Ruby-lang Ruby 1.8.7 p249 All All
Application Ruby-lang Ruby 1.8.7 p299 All All
Application Ruby-lang Ruby 1.8.7 p301 All All
Application Ruby-lang Ruby 1.8.7 p302 All All
Application Ruby-lang Ruby 1.8.7 p330 All All
Application Ruby-lang Ruby 1.8.7 p334 All All
Application Ruby-lang Ruby 1.8.7 p352 All All
Application Ruby-lang Ruby 1.8.7 p357 All All
Application Ruby-lang Ruby 1.8.7 p358 All All
Application Ruby-lang Ruby 1.8.7 p370 All All
Application Ruby-lang Ruby 1.8.7 p71 All All
Application Ruby-lang Ruby 1.8.7 p72 All All
Application Ruby-lang Ruby 1.8.7 preview1 All All
Application Ruby-lang Ruby 1.8.7 preview2 All All
Application Ruby-lang Ruby 1.8.7 preview3 All All
Application Ruby-lang Ruby 1.8.7 preview4 All All
Application Ruby-lang Ruby 1.9.3 All All All
Application Ruby-lang Ruby 1.9.3 p0 All All
Application Ruby-lang Ruby 1.9.3 p125 All All
Application Ruby-lang Ruby 1.9.3 p194 All All
Application Ruby-lang Ruby 2.0 All All All
Application Ruby-lang Ruby 2.0.0 All All All
Application Ruby-lang Ruby 2.0.0 p0 All All
Application Ruby-lang Ruby 2.0.0 preview1 All All
Application Ruby-lang Ruby 2.0.0 preview2 All All
Application Ruby-lang Ruby 2.0.0 rc1 All All
Application Ruby-lang Ruby 2.0.0 rc2 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 18 Update: ruby-1.9.3.194-18.fc18 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 17 Update: ruby-1.9.3.194-17.fc17 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[ruby] Revision 37068 af854a3a-2127-422b-91ae-364da2661108 svn.ruby-lang.org
$SAFE escaping vulnerability about Exception#to_s / NameError#to_s (CVE-2012-4464, CVE-2012-4466) af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org Vendor Advisory
Support / Security / Advisories / / MDVSA-2013:124 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
oss-security - CVE Request: Ruby safe level bypasses af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
oss-security - Re: CVE Request: Ruby safe level bypasses af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
862614 – (CVE-2012-4466) CVE-2012-4466 ruby: safe level bypass via name_err_mesg_to_str() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
Support/Advisories/MGASA-2012-0294 - Mageia wiki af854a3a-2127-422b-91ae-364da2661108 wiki.mageia.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report