CVE-2012-4466: Medium severity ruby-lang Ruby vulnerability
Originally, Common Vulnerabilities and Exposures assigned an identifier CVE-2011-1005 to the following vulnerability:
The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify strings via the Exception#tos method, as demonstrated by changing an intended pathname.
Later it was reported: [1] http://www.openwall.com/lists/oss-security/2012/10/02/4
that the Ruby nameerrmesgtostr() method is vulnerable to the similar flaw.
Relevant upstream patch: [2] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
Other sources
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 nameerrmesgtostr API function, which marks the string as tainted, a different vulnerability than CVE-2011-1005.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-4466?
CVE-2012-4466 has been classified as having a medium severity level.
Which versions of Ruby are affected by CVE-2012-4466?
CVE-2012-4466 impacts Ruby versions 1.8.6 through 1.8.7-330, and 1.9.3 and prior.
How do I fix CVE-2012-4466?
To mitigate CVE-2012-4466, upgrade to Ruby versions 1.9.3 or higher.
What type of vulnerability is CVE-2012-4466?
CVE-2012-4466 is a vulnerability related to Ruby's safe-level feature.
Is there a patch available for CVE-2012-4466?
Yes, patches for CVE-2012-4466 are included in the newer Ruby releases.