Read the docs
TI-2011-00864 Aliases CVE-2011-1004GHSA-45wv-gc6w-fq7m

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

Priority LOW 28CWE-59Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
—
Confidentiality · integrity · availability
None · Complete · Complete
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.00385 32nd percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*1.8.6Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*1.8.7Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:*1.8.8 devVulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*1.9.1Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*1.9.2Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.3:dev:*:*:*:*:*:*1.9.3 devVulnerableruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:* Versions 1.8.6 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:* Versions 1.8.7 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:* Versions 1.8.8 dev Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:* Versions 1.9.1 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:* Versions 1.9.2 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.3:dev:*:*:*:*:*:* Versions 1.9.3 dev Vulnerable ·ruby

Remediation

Red Hat 2 advisories

  • RHSA-2011:0910 Released 2011-06-28 · Red Hat rating Moderate
    ruby security update
    • Red Hat Enterprise Linux Server (v. 6) ruby-1.8.7.299-7.el6_1.1, ruby-irb-1.8.7.299-7.el6_1.1, ruby-libs-1.8.7.299-7.el6_1.1 +1
    • Red Hat Enterprise Linux Server Optional (v. 6) ruby-1.8.7.299-7.el6_1.1, ruby-devel-1.8.7.299-7.el6_1.1, ruby-devel-1.8.7.299-7.el6_1.1.ppc +5
  • RHSA-2011:0909 Released 2011-06-28 · Red Hat rating Moderate
    ruby security update
    • Red Hat Enterprise Linux (v. 5.6.z server) ruby-1.8.5-19.el5_6.1, ruby-1.8.5-19.el5_6.1.i386, ruby-1.8.5-19.el5_6.1.ia64 +33

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux (v. 5.6.z server)Fixed RHSA-2011:0909
Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2011:0910
Red Hat Enterprise Linux Server Optional (v. 6)Fixed RHSA-2011:0910
Not affected: 1 product
  • Red Hat Enterprise Linux 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2011-1004
  2. 2026-10-03 Alias added: GHSA-45wv-gc6w-fq7m

References

  • TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
  • TI-2017-12709 Ruby before 2.4.3 allows Net::FTP command injection. CVSS 3.0HIGH 8.8
  • TI-2008-03501 Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value… CVSS 2.0HIGH 7.8
  • TI-2021-09891 In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web… CVSS 3.1HIGH 7.5
  • TI-2013-03637 Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1… CVSS 2.0MEDIUM 6.8
  • TI-2018-11751 An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5… CVSS 3.0CRITICAL 9.8
See all 92 →

Sources