Every CVESearch/Get API key

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...

6.3 Medium

CVE-2011-1004 is a medium vulnerability (CVSS 6.3) in Ruby-lang Ruby, published March 2, 2011. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. No source names a fixed version.

What does this mean?
Severity
6.3 MediumCVSS 2.0, NVD
Exploit chance
0.39%EPSS, 33rd percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
No fix listedNo source names one

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.

Exploit likelihood

0.39%Down 1.2 points since Feb 4, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ruby
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-docs
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-irb
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-libs
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-mode
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-rdoc
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-ri
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
ruby-tcltk
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:1.8.5-19.el5_6.1
0:1.8.5-19.el5_6.1
Show 10 moreShow less
Affected packages
PackageAffectedFixed
ruby
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-irb
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-libs
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-docs
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-rdoc
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-ri
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-static
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1
ruby-tcltk
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:1.8.7.299-7.el6_1.1
0:1.8.7.299-7.el6_1.1

What each source reports

NVD Score used6.3

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.

Record
CVE-2011-1004
CVSS 2.0
6.3 MediumAV:L/AC:M/Au:N/C:N/I:C/A:C
Weakness
CWE-59
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2011-1004
Updated
2026-11-02
EUVDEUVD-2011-1021No score

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.

Record
EUVD-2011-1021
Updated
2026-11-03
GitHub AdvisoriesGHSA-45wv-gc6w-fq7mNo score

The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330...

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.

Record
GHSA-45wv-gc6w-fq7m
Weakness
CWE-59
Updated
2026-11-02

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 38 moreShow less
MoveEnter Open