{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2011-1004","published":"2011-03-02T20:00:01.863000Z","last_modified":"2026-06-16T23:28:32.140000Z","status":"Modified","cvss":{"version":"2.0","score":6.3,"severity":"MEDIUM","vector":"AV:L/AC:M/Au:N/C:N/I:C/A:C","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-59"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.6"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.8"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.2"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:dev:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"cat":"app","platform":"multi","eol":false,"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2011-1004/","html_en":"/en/cve/CVE-2011-1004/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-1004","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-1004"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"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":[],"references":[{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","tags":[]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html","tags":[]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html","tags":[]},{"url":"http://osvdb.org/70958","tags":[]},{"url":"http://secunia.com/advisories/43434","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/43573","tags":[]},{"url":"http://support.apple.com/kb/HT5281","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:097","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/2","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/5","tags":["Patch"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","tags":[]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0910.html","tags":[]},{"url":"http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/46460","tags":[]},{"url":"http://www.vupen.com/english/advisories/2011/0539","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=678913","tags":["Patch"]}]}}