REDHAT-BUG-678920: Low severity Ruby Ruby vulnerability
A security flaw was found in the Ruby method, translating message of the exception into string representation. An attacker could use this flaw to modify arbitrary untainted strings into their tainted equivalents by tricking the safe level mechanism of this method.
References: [1] http://www.ruby-lang.org/en/news/2011/02/18/exception-methods-can-bypass-safe/
Upstream patch (against ruby18 branch): [2] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30903
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 30903
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-678920?
The severity of REDHAT-BUG-678920 is considered high due to the potential for arbitrary string modification.
How do I fix REDHAT-BUG-678920?
To fix REDHAT-BUG-678920, upgrade to a Ruby version higher than 1.8 that addresses this vulnerability.
What causes the vulnerability REDHAT-BUG-678920?
REDHAT-BUG-678920 is caused by a flaw in the Ruby method that allows the safe level mechanism to be bypassed.
What is affected by REDHAT-BUG-678920?
REDHAT-BUG-678920 affects Ruby versions up to 1.8, allowing attackers to manipulate untainted strings.
Who is at risk from the vulnerability REDHAT-BUG-678920?
Developers and applications using vulnerable versions of Ruby are at risk from REDHAT-BUG-678920.