CVE-2011-1004 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...
MediumCVSS 6.3
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | = 1.8.6 | No fix listed |
| ruby-lang ruby | = 1.8.7 | No fix listed |
| ruby-lang ruby | = 1.8.8-dev | No fix listed |
| ruby-lang ruby | = 1.9.1 | No fix listed |
| ruby-lang ruby | = 1.9.2 | No fix listed |
| ruby-lang ruby | = 1.9.3-dev | No fix listed |
References
- APPLE-SA-2012-05-09-1 vendor-advisory
- FEDORA-2011-1876 vendor-advisory
- FEDORA-2011-1913 vendor-advisory
- 70958 vdb-entry
- 43434 third-party-advisory vendor-advisory
- 43573 third-party-advisory
- support.apple.com
- MDVSA-2011:097 vendor-advisory
- [oss-security] 20110221 CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE mailing-list patch
- [oss-security] 20110221 Re: CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE mailing-list patch
- RHSA-2011:0909 vendor-advisory
- RHSA-2011:0910 vendor-advisory
- www.ruby-lang.org patch vendor-advisory
- 46460 vdb-entry
- ADV-2011-0539 vdb-entry
- bugzilla.redhat.com patch