CVE Vulnerabilities

CVE-2011-1005

Published: Mar 02, 2011 | Modified: Apr 11, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
4.3 LOW
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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#to_s method, as demonstrated by changing an intended pathname.

Affected Software

NameVendorStart VersionEnd Version
RubyRuby-lang1.8.6 (including)1.8.6 (including)
RubyRuby-lang1.8.6-420 (including)1.8.6-420 (including)
RubyRuby-lang1.8.7 (including)1.8.7 (including)
RubyRuby-lang1.8.7-330 (including)1.8.7-330 (including)
RubyRuby-lang1.8.8-dev (including)1.8.8-dev (including)
Red Hat Enterprise Linux 4RedHatruby-0:1.8.1-16.el4*
Red Hat Enterprise Linux 5RedHatruby-0:1.8.5-19.el5_6.1*
Red Hat Enterprise Linux 6RedHatruby-0:1.8.7.299-7.el6_1.1*
Ruby1.8Ubuntudapper*
Ruby1.8Ubuntuhardy*
Ruby1.8Ubuntukarmic*
Ruby1.8Ubuntulucid*
Ruby1.8Ubuntumaverick*
Ruby1.8Ubuntunatty*
Ruby1.8Ubuntuupstream*
Ruby1.9Ubuntudapper*
Ruby1.9Ubuntuhardy*
Ruby1.9Ubuntukarmic*
Ruby1.9.1Ubuntudevel*
Ruby1.9.1Ubuntukarmic*
Ruby1.9.1Ubuntumaverick*
Ruby1.9.1Ubuntuprecise*

References