Ruby '#to_s' Security Bypass Vulnerability

Summary
This host is installed with Ruby and is prone to security bypass vulnerability.
Impact
Successful exploitation allows attackers to bypass certain security restrictions and perform unauthorized actions. Impact Level: Application.
Solution
Upgrade to Ruby version 1.8.7-334 or later For updates refer to http://rubyforge.org/frs/?group_id=167
Insight
The flaw is due to the error in 'Exception#to_s' method, which trick safe level mechanism and destructively modifies an untaitned string to be tainted.
Affected
Ruby version 1.8.6 through 1.8.6 patchlevel 420 Ruby version 1.8.7 through 1.8.7 patchlevel 330 Ruby version 1.8.8dev
References