The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, 1.8.8dev, 1.9.1 through 1.9.1-430, 1.9.2 through 1.9.2-136, and 1.9.3dev allows local users to delete arbitrary files via a symlink attack.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ruby | Ruby-lang | 1.8.6 (including) | 1.8.6 (including) |
Ruby | Ruby-lang | 1.8.7 (including) | 1.8.7 (including) |
Ruby | Ruby-lang | 1.8.8-dev (including) | 1.8.8-dev (including) |
Ruby | Ruby-lang | 1.9.1 (including) | 1.9.1 (including) |
Ruby | Ruby-lang | 1.9.2 (including) | 1.9.2 (including) |
Ruby | Ruby-lang | 1.9.3-dev (including) | 1.9.3-dev (including) |
Red Hat Enterprise Linux 5 | RedHat | ruby-0:1.8.5-19.el5_6.1 | * |
Red Hat Enterprise Linux 6 | RedHat | ruby-0:1.8.7.299-7.el6_1.1 | * |
Ruby1.8 | Ubuntu | dapper | * |
Ruby1.8 | Ubuntu | hardy | * |
Ruby1.8 | Ubuntu | karmic | * |
Ruby1.8 | Ubuntu | lucid | * |
Ruby1.8 | Ubuntu | maverick | * |
Ruby1.8 | Ubuntu | natty | * |
Ruby1.8 | Ubuntu | upstream | * |
Ruby1.9 | Ubuntu | dapper | * |
Ruby1.9 | Ubuntu | hardy | * |
Ruby1.9 | Ubuntu | karmic | * |
Ruby1.9 | Ubuntu | lucid | * |
Ruby1.9.1 | Ubuntu | karmic | * |
Ruby1.9.1 | Ubuntu | lucid | * |
Ruby1.9.1 | Ubuntu | maverick | * |
Ruby1.9.1 | Ubuntu | natty | * |
Ruby1.9.1 | Ubuntu | upstream | * |