UnratedFix available
perl — security advisory
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.
- Products
- perl
- Affected versions
- Not specified
- Fixed versions
- 5.8.4-5
- CVEs
- CVE-2004-0452
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 14:22 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2004-0452
perl
Fixed versions: 5.8.4-5
perl
Fixed versions: 5.8.4-5
perl
Fixed versions: 5.8.4-5
Complete source record
{
"id": "be030a745bf3a6ef9c778724c3d5349b20d09f32a2bb64c99878638f0a0e8ced",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2004-0452",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2004-0452",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2004-0452",
"products": [
{
"name": {
"value": "perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.8.4-5",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.8.4-5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.8.4-5",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2004-0452",
"aliases": [
"DEBIAN-CVE-2004-0452"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.8.4-5"
}
]
}
],
"package": {
"name": "perl",
"purl": "pkg:deb/debian/perl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-0452.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.8.4-5"
}
]
}
],
"package": {
"name": "perl",
"purl": "pkg:deb/debian/perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-0452.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.8.4-5"
}
]
}
],
"package": {
"name": "perl",
"purl": "pkg:deb/debian/perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-0452.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-21T15:47:22.730612269Z",
"provider": "osv",
"upstream": [
"CVE-2004-0452"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2004-0452"
]
},
"related_cves": [
{
"value": "CVE-2004-0452",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 393815,
"published_at": "2004-12-21T05:00:00+00:00"
}