CVE-2012-4466
Summary
| CVE | CVE-2012-4466 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2013-04-25 23:55:01 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.