{"id":"CVE-2004-0452","aliases":["DEBIAN-CVE-2004-0452","DSA-1678-1","DSA-620-1","EUVD-2004-0451","GHSA-27g6-7ffq-cf4w","RHSA-2005:103","RHSA-2005:105"],"status":"published","title":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read...","description":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.","severity":{"version":"2.0","score":2.6,"vector":"AV:L/AC:H/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00402,"percentile":0.34758,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-12-21T05:00:00Z","modified":"2026-10-21T15:47:22Z","fixes":[{"ecosystem":"Debian:12","package":"perl","fixed_in":["5.8.4-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"perl","fixed_in":["5.8.4-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"perl","fixed_in":["5.8.4-5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.4-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.4-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.4-5"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.8-7etch5"}]}],"versions":["5.8.8-7","5.8.8-7etch1","5.8.8-7etch2","5.8.8-7etch3","5.8.8-7etch4"],"bundled":4},{"source":"osv","ecosystem":"Debian:3.0","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.1-8.8"}]}],"versions":["5.6.1-8.7"],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3}],"products":[{"vendor":"larry_wall","product":"perl"}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-105.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-103.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/55314","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2004/dsa-620","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U","tags":["vendor-advisory","x_refsource_SGI","x_transferred","advisory"]},{"url":"http://fedoranews.org/updates/FEDORA--.shtml","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/12991","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=110547693019788\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://www.ubuntu.com/usn/usn-44-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.securityfocus.com/bid/12072","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/18517","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18650","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0452","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-27g6-7ffq-cf4w"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0452","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:103","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146739","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146774","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_103.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0452","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618363","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0452","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0155","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617476","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0155","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0155","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0156","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617477","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0156","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0156","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:105","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=140227","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146737","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_105.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0452","description":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2024-08-08T00:17:14.963Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0451","description":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2024-08-08T00:17:14Z","updated_at":"2026-11-03T01:15:19.183327Z"}],"ghsa":[{"id":"GHSA-27g6-7ffq-cf4w","title":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read...","description":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.","status":"published","published":"2022-05-03T03:13:02Z","modified":"2023-02-01T05:01:09Z","updated_at":"2026-11-02T14:49:40.629091Z"}],"nvd":[{"id":"CVE-2004-0452","description":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.","status":"published","published":"2004-12-21T05:00:00Z","modified":"2026-06-16T22:05:39.673Z","cvss":[{"version":"2.0","score":2.6,"vector":"AV:L/AC:H/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.985436Z"}],"osv":[{"id":"CVE-2004-0452","description":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.","status":"published","published":"2004-12-21T05:00:00Z","modified":"2026-04-10T03:35:47.182328Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0452","description":"Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.","status":"published","published":"2004-12-21T05:00:00Z","modified":"2026-10-21T15:47:22.730612269Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-1678-1","title":"perl - privilege escalation","status":"published","published":"2008-12-03T00:00:00Z","modified":"2026-03-09T01:20:30.619443Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DSA-620-1","title":"perl - insecure temporary files / directories","status":"published","published":"2004-12-30T00:00:00Z","modified":"2026-03-09T02:10:47.083055Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"RHSA-2005:103","title":"Red Hat Security Advisory: perl security update","status":"published","published":"2024-09-15T15:11:44Z","modified":"2026-06-26T10:02:21Z","updated_at":"2026-11-02T15:52:59.135214Z"},{"id":"RHSA-2005:105","title":"Red Hat Security Advisory: perl security update","status":"published","published":"2024-09-15T15:11:48Z","modified":"2026-06-26T10:02:23Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
