All vulnerabilities

Servers and applications

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 arbitrary files via a symlink attack.

Severity
Medium 6.3
Published
2 Mar 2011
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Link following (CWE-59)
Attack
Needs local access · No login needed
Attacker can
Change data · Take it down
CVSS vector
AV:L/AC:M/Au:N/C:N/I:C/A:C
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 1.8.6
  • Version 1.8.7
  • Version 1.8.8-dev
  • Version 1.9.1
  • Version 1.9.2
  • Version 1.9.3-dev

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2011-1004
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2011-1004