{"api_version":"1","generated_at":"2026-04-23T09:38:04+00:00","cve":"CVE-2004-0452","urls":{"html":"https://cve.report/CVE-2004-0452","api":"https://cve.report/api/cve/CVE-2004-0452.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-0452","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-0452"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2004-12-21 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"2.6","severity":"","vector":"AV:L/AC:H/Au:N/C:N/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:H/Au:N/C:N/I:P/A:P","baseScore":2.6,"accessVector":"LOCAL","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-103.html","name":"http://www.redhat.com/support/errata/RHSA-2005-103.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://fedoranews.org/updates/FEDORA--.shtml","name":"http://fedoranews.org/updates/FEDORA--.shtml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"404 Not Found","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://www.ubuntu.com/usn/usn-44-1/","name":"https://www.ubuntu.com/usn/usn-44-1/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"usn/usn-44-1 - Ubuntu Linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U","name":"ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18650","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18650","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/12991","name":"http://secunia.com/advisories/12991","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - Perl Multiple Scripts Insecure Temporary File Creation Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/12072","name":"http://www.securityfocus.com/bid/12072","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Perl RMTree Local Race Condition Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.redhat.com/support/errata/RHSA-2005-105.html","name":"http://www.redhat.com/support/errata/RHSA-2005-105.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938","name":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Repository  /  Oval Repository","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/18517","name":"http://secunia.com/advisories/18517","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - SGI Advanced Linux Environment Multiple Updates","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=110547693019788&w=2","name":"http://marc.info/?l=bugtraq&m=110547693019788&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'[OpenPKG-SA-2005.001] OpenPKG Security Advisory (perl)' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Gentoo Linux Documentation\n--\n  Perl: rmtree and DBI tmpfile vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2004/dsa-620","name":"http://www.debian.org/security/2004/dsa-620","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Debian -- Security Information -- DSA-620-1 perl","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/55314","name":"http://secunia.com/advisories/55314","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisory SA55314 - Oracle Solaris Perl Multiple Vulnerabilities - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0452","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0452","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2004","cve_id":"452","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"larry_wall","cpe5":"perl","cpe6":"5.6.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"452","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"larry_wall","cpe5":"perl","cpe6":"5.8.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T00:17:14.963Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"RHSA-2005:105","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2005-105.html"},{"name":"oval:org.mitre.oval:def:9938","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938"},{"name":"RHSA-2005:103","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2005-103.html"},{"name":"55314","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/55314"},{"name":"DSA-620","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2004/dsa-620"},{"name":"20060101-01-U","tags":["vendor-advisory","x_refsource_SGI","x_transferred"],"url":"ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U"},{"name":"FLSA-2006:152845","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://fedoranews.org/updates/FEDORA--.shtml"},{"name":"12991","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/12991"},{"name":"20050111 [OpenPKG-SA-2005.001] OpenPKG Security Advisory (perl)","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=110547693019788&w=2"},{"name":"USN-44-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://www.ubuntu.com/usn/usn-44-1/"},{"name":"GLSA-200501-38","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml"},{"name":"12072","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/12072"},{"name":"18517","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/18517"},{"name":"perl-filepathrmtree-insecure-permissions(18650)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18650"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-12-23T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-10-10T00:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"RHSA-2005:105","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2005-105.html"},{"name":"oval:org.mitre.oval:def:9938","tags":["vdb-entry","signature","x_refsource_OVAL"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938"},{"name":"RHSA-2005:103","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2005-103.html"},{"name":"55314","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/55314"},{"name":"DSA-620","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2004/dsa-620"},{"name":"20060101-01-U","tags":["vendor-advisory","x_refsource_SGI"],"url":"ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U"},{"name":"FLSA-2006:152845","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://fedoranews.org/updates/FEDORA--.shtml"},{"name":"12991","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/12991"},{"name":"20050111 [OpenPKG-SA-2005.001] OpenPKG Security Advisory (perl)","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=110547693019788&w=2"},{"name":"USN-44-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://www.ubuntu.com/usn/usn-44-1/"},{"name":"GLSA-200501-38","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml"},{"name":"12072","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/12072"},{"name":"18517","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/18517"},{"name":"perl-filepathrmtree-insecure-permissions(18650)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18650"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-0452","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2005:105","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-105.html"},{"name":"oval:org.mitre.oval:def:9938","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938"},{"name":"RHSA-2005:103","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-103.html"},{"name":"55314","refsource":"SECUNIA","url":"http://secunia.com/advisories/55314"},{"name":"DSA-620","refsource":"DEBIAN","url":"http://www.debian.org/security/2004/dsa-620"},{"name":"20060101-01-U","refsource":"SGI","url":"ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U"},{"name":"FLSA-2006:152845","refsource":"FEDORA","url":"http://fedoranews.org/updates/FEDORA--.shtml"},{"name":"12991","refsource":"SECUNIA","url":"http://secunia.com/advisories/12991"},{"name":"20050111 [OpenPKG-SA-2005.001] OpenPKG Security Advisory (perl)","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=110547693019788&w=2"},{"name":"USN-44-1","refsource":"UBUNTU","url":"https://www.ubuntu.com/usn/usn-44-1/"},{"name":"GLSA-200501-38","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml"},{"name":"12072","refsource":"BID","url":"http://www.securityfocus.com/bid/12072"},{"name":"18517","refsource":"SECUNIA","url":"http://secunia.com/advisories/18517"},{"name":"perl-filepathrmtree-insecure-permissions(18650)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18650"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-0452","datePublished":"2004-12-31T05:00:00.000Z","dateReserved":"2004-05-06T00:00:00.000Z","dateUpdated":"2024-08-08T00:17:14.963Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2004-12-21 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:H/Au:N/C:N/I:P/A:P","baseScore":2.6,"accessVector":"LOCAL","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":1.9,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:larry_wall:perl:5.6.1:*:*:*:*:*:*:*","matchCriteriaId":"7530A863-0FFF-4332-8E6F-4329AB4DE5FC"},{"vulnerable":true,"criteria":"cpe:2.3:a:larry_wall:perl:5.8.4:*:*:*:*:*:*:*","matchCriteriaId":"AD5E5A51-ED4C-4927-8C4D-502E79391E19"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"452","Ordinal":"1","Title":"CVE-2004-0452","CVE":"CVE-2004-0452","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"452","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2004-0452"},{"CveYear":"2004","CveId":"452","Ordinal":"2","NoteData":"2004-12-31","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"452","Ordinal":"3","NoteData":"2017-10-09","Type":"Other","Title":"Modified"}]}}}