CVE-2011-1004
publishedRuby: Symlink race condition by removing directory trees in fileutils module
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Oracle Linux | 6 | rubyi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Red Hat Enterprise Linux | RHEL-5 | rubyi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Oracle Linux | 6 | rubyx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-develi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-develx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-docsi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-docsx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | ruby-irbi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-irbx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-libsi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-libsx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rdoci686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rdocx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rii686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rix86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-statici686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-staticx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-tcltki686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-tcltkx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Red Hat Enterprise Linux | RHEL-5 | rubyia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubyppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubys390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubysrc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubyx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoppc64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfos390 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfos390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfox86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develppc64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-devels390 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-devels390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docss390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbs390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libsi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libsia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libsppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libsppc64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libss390 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libss390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libsx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-modei386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-modeia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-modeppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-modes390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-modex86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rdoci386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rdocia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rdocppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rdocs390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rdocx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rii386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-riia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rippc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-ris390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-rix86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-tcltki386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-tcltkia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-tcltkppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-tcltks390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-tcltkx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-6 | rubyi686 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | rubyppc64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | rubys390x | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | rubysrc | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | rubyx86_64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-debuginfoi686 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-debuginfoppc | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-debuginfoppc64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-debuginfos390 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-debuginfos390x | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-debuginfox86_64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-develi686 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-develppc | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-develppc64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-devels390 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-devels390x | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-develx86_64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-docsi686 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-docsppc64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-docss390x | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-docsx86_64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-irbi686 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-irbppc64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-irbs390x | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-irbx86_64 | Advisory build | 1.8.7.299-7.el6_1.1 | RHSA-2011:0910 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
16- APPLE-SA-2012-05-09-1 http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- FEDORA-2011-1876 http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html
- FEDORA-2011-1913 http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html
- 70958 http://osvdb.org/70958
- 43434 http://secunia.com/advisories/43434
- 43573 http://secunia.com/advisories/43573
- http://support.apple.com/kb/HT5281
- MDVSA-2011:097 http://www.mandriva.com/security/advisories?name=MDVSA-2011:097
- [oss-security] 20110221 CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE http://www.openwall.com/lists/oss-security/2011/02/21/2
- [oss-security] 20110221 Re: CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE http://www.openwall.com/lists/oss-security/2011/02/21/5
- RHSA-2011:0909 http://www.redhat.com/support/errata/RHSA-2011-0909.html
- RHSA-2011:0910 http://www.redhat.com/support/errata/RHSA-2011-0910.html
- http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/
- 46460 http://www.securityfocus.com/bid/46460
- ADV-2011-0539 http://www.vupen.com/english/advisories/2011/0539
- https://bugzilla.redhat.com/show_bug.cgi?id=678913
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d3dd86ebf0e68ab9dae0f7236aca13b30bf271d7ccbc84e58dd7ed4bdd1f0b42
- Ingested
- 23 Sep 2026, 07:38:58 UTC
- Source record
- Official CVE record