Vulnerabilities · 2011 · Ruby-lang
CVE-2011-1004
Ruby-lang Ruby vulnerability
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.
Affected products
Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- secunia.com/advisories/43434 · Vendor Advisory
- www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/ · Patch
- www.openwall.com/lists/oss-security/2011/02/21/2 · Patch
- www.openwall.com/lists/oss-security/2011/02/21/5 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=678913 · Patch
- lists.apple.com/archives/security-announce/2012/May/msg00001.html
- lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html
- lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html
- nvd.nist.gov/vuln/detail/CVE-2011-1004
- cve.org/CVERecord?id=CVE-2011-1004
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.