CVE-2004-0452
Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read...
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.
Exploit likelihood
What each source reports
NVD Score used
2.6
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.
- Record
CVE-2004-0452- CVSS 2.0
- 2.6 Low
AV:L/AC:H/Au:N/C:N/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-0452- Updated
- 2026-11-02
EUVDEUVD-2004-0451 No score
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.
- Record
EUVD-2004-0451- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-27g6-7ffq-cf4w No score
Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read...
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.
- Record
GHSA-27g6-7ffq-cf4w- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2004-0452- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-0452 No score
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.
- Record
DEBIAN-CVE-2004-0452- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perlDebian:12 |
before 5.8.4-5 | 5.8.4-5 |
perlDebian:13 |
before 5.8.4-5 | 5.8.4-5 |
perlDebian:14 |
before 5.8.4-5 | 5.8.4-5 |
perlDebian:4.0 |
before 5.8.8-7etch5, plus listed versions 5.8.8-75.8.8-7etch15.8.8-7etch25.8.8-7etch35.8.8-7etch4 |
5.8.8-7etch5 |
perlDebian:3.0 |
before 5.6.1-8.8, plus listed versions 5.6.1-8.7 |
5.6.1-8.8 |
perlRed Hat:enterprise_linux:4::as |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-debuginfoRed Hat:enterprise_linux:4::as |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-suidperlRed Hat:enterprise_linux:4::as |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:4::desktop |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-debuginfoRed Hat:enterprise_linux:4::desktop |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
Show 31 moreShow less
| Package | Affected | Fixed |
|---|---|---|
perl-suidperlRed Hat:enterprise_linux:4::desktop |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:4::es |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-debuginfoRed Hat:enterprise_linux:4::es |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-suidperlRed Hat:enterprise_linux:4::es |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:4::ws |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-debuginfoRed Hat:enterprise_linux:4::ws |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-suidperlRed Hat:enterprise_linux:4::ws |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:3::as |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::as |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::as |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::as |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::as |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::as |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perlRed Hat:enterprise_linux:3::desktop |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::desktop |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::desktop |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::desktop |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::desktop |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::desktop |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perlRed Hat:enterprise_linux:3::es |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::es |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::es |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::es |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::es |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::es |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perlRed Hat:enterprise_linux:3::ws |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::ws |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::ws |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::ws |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::ws |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::ws |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-0452 is a low vulnerability (CVSS 2.6) in Larry Wall Perl, published December 21, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 34th percentile. Fixed in perl 5.8.4-5.
References
redhat.com/support/errata/RHSA-2005-105.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938
redhat.com/support/errata/RHSA-2005-103.html
secunia.com/advisories/55314
debian.org/security/2004/dsa-620
fedoranews.org/updates/FEDORA--.shtml
Show 30 moreShow less
secunia.com/advisories/12991
marc.info?l=bugtraq&m=110547693019788&w=2
ubuntu.com/usn/usn-44-1
gentoo.org/security/en/glsa/glsa-200501-38.xml
securityfocus.com/bid/12072
secunia.com/advisories/18517
exchange.xforce.ibmcloud.com/vulnerabilities/18650
nvd.nist.gov/vuln/detail/CVE-2004-0452
github.com/advisories/GHSA-27g6-7ffq-cf4w
security-tracker.debian.org/tracker/CVE-2004-0452
access.redhat.com/errata/RHSA-2005:103
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=146739
bugzilla.redhat.com/show_bug.cgi?id=146774
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_103.json
access.redhat.com/security/cve/CVE-2004-0452
bugzilla.redhat.com/show_bug.cgi?id=1618363
cve.org/CVERecord?id=CVE-2004-0452
access.redhat.com/security/cve/CVE-2005-0155
bugzilla.redhat.com/show_bug.cgi?id=1617476
cve.org/CVERecord?id=CVE-2005-0155
nvd.nist.gov/vuln/detail/CVE-2005-0155
access.redhat.com/security/cve/CVE-2005-0156
bugzilla.redhat.com/show_bug.cgi?id=1617477
cve.org/CVERecord?id=CVE-2005-0156
nvd.nist.gov/vuln/detail/CVE-2005-0156
access.redhat.com/errata/RHSA-2005:105
bugzilla.redhat.com/show_bug.cgi?id=140227
bugzilla.redhat.com/show_bug.cgi?id=146737
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_105.json