{"id":"CVE-2011-1004","sourceIdentifier":"secalert@redhat.com","published":"2011-03-02T20:00:01.863","lastModified":"2026-06-16T23:28:32.140","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"El método FileUtils.remove_entry_secure de Ruby 1.8.6 hasta la versión 1.8.6-420, 1.8.7 hasta la 1.8.7-330, 1.8.8dev, 1.9.1 hasta la 1.9.1-430, 1.9.2 hasta la 1.9.2-136 y 1.9.3dev permite a usuarios locales borrar archivos de su elección a través de un enlace de ataque simbólico (\"symlink attack\")."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:C/A:C","baseScore":6.3,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":9.2,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-59"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*","matchCriteriaId":"876B2575-4F81-4A70-9A88-9BEE44649626"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*","matchCriteriaId":"2D86FC99-3521-4E22-8FD3-65CEB05A6342"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:*","matchCriteriaId":"3FAFAB6A-3299-4BEE-BDB9-3918DDA5D3DB"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","matchCriteriaId":"C78BB1D8-0505-484D-B824-1AA219F8B247"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","matchCriteriaId":"5178D04D-1C29-4353-8987-559AA07443EC"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:dev:*:*:*:*:*:*","matchCriteriaId":"02941FD6-BF48-4435-AAB0-BC26C1805293"}]}]}],"references":[{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html","source":"secalert@redhat.com"},{"url":"http://osvdb.org/70958","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/43434","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/43573","source":"secalert@redhat.com"},{"url":"http://support.apple.com/kb/HT5281","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:097","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/2","source":"secalert@redhat.com","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/5","source":"secalert@redhat.com","tags":["Patch"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0910.html","source":"secalert@redhat.com"},{"url":"http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/","source":"secalert@redhat.com","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/46460","source":"secalert@redhat.com"},{"url":"http://www.vupen.com/english/advisories/2011/0539","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=678913","source":"secalert@redhat.com","tags":["Patch"]},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/70958","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/43434","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/43573","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT5281","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:097","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/5","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0910.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/46460","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2011/0539","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=678913","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}