FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

CVE-2012-4464

This CVE name corresponds to:

Entered Topic
2012-11-01 ruby -- $SAFE escaping vulnerability about Exception#to_s/NameError#to_s

The following information is adapted from the Common Vulnerabilities and Exposures (CVE) project. CVE and the CVE logo are trademarks of The MITRE Corporation. CVE content is Copyright 2005, The MITRE Corporation.

Details

Type Candidate
Name CVE-2012-4464
Phase Assigned(20120821)

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.

References

Source Reference
MLIST [oss-security] 20121002 CVE Request: Ruby safe level bypasses
MLIST [oss-security] 20121003 Re: CVE Request: Ruby safe level bypasses
MISC http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
CONFIRM http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/
CONFIRM https://bugzilla.redhat.com/show_bug.cgi?id=862598
FEDORA FEDORA-2012-15376
FEDORA FEDORA-2012-15395