Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.801760
Category:General
Title:Ruby '#to_s' Security Bypass Vulnerability
Summary:Ruby is prone to a security bypass vulnerability.
Description:Summary:
Ruby is prone to a security bypass vulnerability.

Vulnerability 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.

Vulnerability Impact:
Successful exploitation allows attackers to bypass certain security
restrictions and perform unauthorized actions.

Affected Software/OS:
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

Solution:
Upgrade to Ruby version 1.8.7-334 or later.

CVSS Score:
5.0

CVSS Vector:
AV:N/AC:L/Au:N/C:N/I:P/A:N

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2011-1005
43420
http://secunia.com/advisories/43420
43573
http://secunia.com/advisories/43573
46458
http://www.securityfocus.com/bid/46458
70957
http://osvdb.org/70957
ADV-2011-0539
http://www.vupen.com/english/advisories/2011/0539
APPLE-SA-2012-05-09-1
http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
FEDORA-2011-1876
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html
FEDORA-2011-1913
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html
MDVSA-2011:097
http://www.mandriva.com/security/advisories?name=MDVSA-2011:097
MDVSA-2011:098
http://www.mandriva.com/security/advisories?name=MDVSA-2011:098
RHSA-2011:0908
http://www.redhat.com/support/errata/RHSA-2011-0908.html
RHSA-2011:0909
http://www.redhat.com/support/errata/RHSA-2011-0909.html
RHSA-2011:0910
http://www.redhat.com/support/errata/RHSA-2011-0910.html
[oss-security] 20110221 CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE
http://www.openwall.com/lists/oss-security/2011/02/21/2
[oss-security] 20110221 Re: CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE
http://www.openwall.com/lists/oss-security/2011/02/21/5
http://support.apple.com/kb/HT5281
http://www.ruby-lang.org/en/news/2011/02/18/exception-methods-can-bypass-safe/
https://bugzilla.redhat.com/show_bug.cgi?id=678920
CopyrightCopyright (C) 2011 Greenbone AG

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.