Skip to content
OpenAdvisories
Unscored CVE-2011-1004 EUVD-2011-1021GHSA-45wv-gc6w-fq7m

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…

Published Mar 2, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 6 ruby +8 1.8.7.299-7.el6_1.1 RHSA-2011:0910
RHEL 5 ruby +8 1.8.5-19.el5_6.1 RHSA-2011:0909

Advisories 2

References