Live threats

All CVEs / Ruby-lang

CVE-2011-1004Ruby-lang Ruby

Medium 6.3

Priority
38
CVSS 2.0
6.3
EPSS
0.4%
probability of exploitation in 30 days · percentile 24
Auth required
Yes
Published
Mar 2, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
AV:L/AC:M/Au:N/C:N/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.

Affected products (CPE)

VendorProductVersions
ruby-langruby1.8.6
ruby-langruby1.8.7
ruby-langruby1.8.8
ruby-langruby1.9.1
ruby-langruby1.9.2
ruby-langruby1.9.3

Official sources

References

Links published by the sources. Open them with care.