CVE-2011-1005
Fixed in a distro release EPSS 3%
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.
Products: ruby-lang ruby
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 4 | irb | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 4 | ruby | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 4 | ruby-debuginfo | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 4 | ruby-devel | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 4 | ruby-docs | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 4 | ruby-libs | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 4 | ruby-mode | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 4 | ruby-tcltk | 0:1.8.1-16.el4 |
| Red Hat Enterprise Linux 5 | ruby | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-debuginfo | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-devel | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-docs | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-irb | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-libs | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-mode | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-rdoc | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-ri | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 5 | ruby-tcltk | 0:1.8.5-19.el5_6.1 |
| Red Hat Enterprise Linux 6 | ruby | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-debuginfo | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-devel | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-docs | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-irb | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-libs | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-rdoc | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-ri | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-static | 0:1.8.7.299-7.el6_1.1 |
| Red Hat Enterprise Linux 6 | ruby-tcltk | 0:1.8.7.299-7.el6_1.1 |