CVE-2012-4464
Summary
| CVE | CVE-2012-4464 |
|---|---|
| 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.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. |
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.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 |
| 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 | |
| 862598 – (CVE-2012-4464) CVE-2012-4464 ruby 1.9.3: Possibility to bypass Ruby's $SAFE (level 4) semantics | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| 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.