CVE-2012-4464 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_t...
MediumCVSS 5.0
EPSS 2.2%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | = 1.9.3 | No fix listed |
| ruby-lang ruby | = 1.9.3-p0 | No fix listed |
| ruby-lang ruby | = 1.9.3-p125 | No fix listed |
| ruby-lang ruby | = 1.9.3-p194 | No fix listed |
| ruby-lang ruby | = 2.0 | No fix listed |
| ruby-lang ruby | = 2.0.0 | No fix listed |
| ruby-lang ruby | = 2.0.0-p0 | No fix listed |
| ruby-lang ruby | = 2.0.0-preview1 | No fix listed |
| ruby-lang ruby | = 2.0.0-preview2 | No fix listed |
| ruby-lang ruby | = 2.0.0-rc1 | No fix listed |
| ruby-lang ruby | = 2.0.0-rc2 | No fix listed |
References
- FEDORA-2012-15376 vendor-advisory
- FEDORA-2012-15395 vendor-advisory
- svn.ruby-lang.org
- [oss-security] 20121002 CVE Request: Ruby safe level bypasses mailing-list
- [oss-security] 20121003 Re: CVE Request: Ruby safe level bypasses mailing-list
- www.ruby-lang.org vendor-advisory
- bugzilla.redhat.com