CVE-2012-4464
published1.9.3: Possibility to bypass Ruby's $SAFE (level 4) semantics
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
7- FEDORA-2012-15376 http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html
- FEDORA-2012-15395 http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
- [oss-security] 20121002 CVE Request: Ruby safe level bypasses http://www.openwall.com/lists/oss-security/2012/10/02/4
- [oss-security] 20121003 Re: CVE Request: Ruby safe level bypasses 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
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0ffa26a87e85b066ef1d0d38c5ccec188254554cefcf09f815ff76d2ece82410
- Ingested
- 23 Sep 2026, 07:39:20 UTC
- Source record
- Official CVE record