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/write permissions for the world, which…
Noroxi assessment
Priority: Monitor (action score 10/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.40% (FIRST EPSS).
- Special conditions such as timing or configuration are required.
- Fixed version: perl (Debian:12) 5.8.4-5; perl (Debian:3.0) 5.6.1-8.8; perl (Debian:4.0) 5.8.8-7etch5.
Low priority for now. Upgrade to perl (Debian:12) 5.8.4-5; perl (Debian:3.0) 5.6.1-8.8; perl (Debian:4.0) 5.8.8-7etch5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Dec 21, 2004
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 35th percentile
- CWE
- —
Report tools
Action score
10
Low priority for now.
- CVSS
- 10 / 40 · 2.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| larry wall | perl | cpe:2.3:a:larry_wall:perl |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- larry wall perl5.6.1
- larry wall perl5.8.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | perl | before 5.8.4-5 | 5.8.4-5 |
| Debian:3.0 | perl | before 5.6.1-8.8 | 5.6.1-8.8 |
| Debian:4.0 | perl | before 5.8.8-7etch5 | 5.8.8-7etch5 |
| Red Hat:enterprise_linux:3::as | perl | before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
| Red Hat:enterprise_linux:3::as | perl-CGI | before 2:2.81-89.10 | 2:2.81-89.10 |
| Red Hat:enterprise_linux:3::as | perl-CPAN | before 2:1.61-89.10 | 2:1.61-89.10 |
| Red Hat:enterprise_linux:3::as | perl-DB_File | before 2:1.804-89.10 | 2:1.804-89.10 |
| Red Hat:enterprise_linux:3::as | perl-debuginfo | before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
| Red Hat:enterprise_linux:3::as | perl-suidperl | before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
| Red Hat:enterprise_linux:4::as | perl | before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
| Red Hat:enterprise_linux:4::as | perl-debuginfo | before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
| Red Hat:enterprise_linux:4::as | perl-suidperl | before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
Same product
larry wall: all recordsOther highest-scoring records for the same primary product.
- CVE-2005-4278Untrusted search path vulnerability in Perl before 5.8.7-r1 on Gentoo Linux allows local users in the portage group to gain privileges via…28Monitor
- CVE-2000-0703suidperl (aka sperl) does not properly cleanse the escape sequence "~!" before calling /bin/mail to send an error report, which allows…28Monitor
- CVE-1999-0034Buffer overflow in suidperl (sperl), Perl 4.x and 5.x.28Monitor
Published before and after this one in the same product
- ← EarlierCVE-2003-0900Dec 31, 2003 · Perl 5.8.1 on Fedora Core does not properly initialize the random number generator when forking, which makes it easier for attackers to…20Monitor
- Later →CVE-2005-0156Feb 7, 2005 · Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support (sperl), allows local users to execute…8Monitor
- Later →CVE-2004-0976Feb 9, 2005 · Multiple scripts in the perl package in Trustix Secure Linux 1.5 through 2.1 and other operating systems allows local users to overwrite…8Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:perl | 5.8.4-5 · Debian:12 | Package registry (OSV) |
| red hat:perl | 3:5.8.5-12.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:perl-CGI | 2:2.81-89.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:perl-CPAN | 2:1.61-89.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:perl-DB_File | 2:1.804-89.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:perl-debuginfo | 3:5.8.5-12.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:perl-suidperl | 3:5.8.5-12.1.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- High
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:L/AC:H/Au:N/C:N/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- fedoranews.org/updates/FEDORA--.shtml
- marc.info/?l=bugtraq&m=110547693019788&w=2
- secunia.com/advisories/12991
- secunia.com/advisories/18517
- secunia.com/advisories/55314
- www.debian.org/security/2004/dsa-620
- www.gentoo.org/security/en/glsa/glsa-200501-38.xml
- www.redhat.com/support/errata/RHSA-2005-103.html
- www.redhat.com/support/errata/RHSA-2005-105.html
- www.securityfocus.com/bid/12072
- exchange.xforce.ibmcloud.com/vulnerabilities/18650
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938
- www.ubuntu.com/usn/usn-44-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.