Back
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,…
Medium6.3EPSS 0.39%
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.3 | AV:L/AC:M/Au:N/C:N/I:C/A:C |
- EPSS (exploitation in 30 days)
- 0.39% · top 67% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
n/a
- affected n/a
References (16)
- RHSA-2011:0910 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 46460 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [oss-security] 20110221 Re: CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- ADV-2011-0539 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- RHSA-2011:0909 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=678913 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 43573 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [oss-security] 20110221 CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 70958 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- FEDORA-2011-1876 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2011-1913 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 43434 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://support.apple.com/kb/HT5281 (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2011:097 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- APPLE-SA-2012-05-09-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .