CVE-2004-0452
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 2.6 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Record status
- Modified
Affected
- Larry Wall Perl 5.6.1
- Larry Wall Perl 5.8.4
Attack profile CVSS 2.0 · 2.6
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:H/Au:N/C:N/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2004-0452.md and follow it. Check whether this project is affected by CVE-2004-0452. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.debian.org/security/2004/dsa-620
- http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml
- http://www.redhat.com/support/errata/RHSA-2005-103.html
- http://www.debian.org/security/2004/dsa-620
- http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml
- http://www.redhat.com/support/errata/RHSA-2005-103.html
References
- ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U
- http://fedoranews.org/updates/FEDORA--.shtml
- http://marc.info/?l=bugtraq&m=110547693019788&w=2
- http://secunia.com/advisories/12991
- http://secunia.com/advisories/18517
- http://secunia.com/advisories/55314
- http://www.debian.org/security/2004/dsa-620
- http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml
- http://www.redhat.com/support/errata/RHSA-2005-103.html
- http://www.redhat.com/support/errata/RHSA-2005-105.html
- http://www.securityfocus.com/bid/12072
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18650
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9938
- https://www.ubuntu.com/usn/usn-44-1/
- ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U
- http://fedoranews.org/updates/FEDORA--.shtml
- http://marc.info/?l=bugtraq&m=110547693019788&w=2
- http://secunia.com/advisories/12991
- http://secunia.com/advisories/18517
- http://secunia.com/advisories/55314
- http://www.debian.org/security/2004/dsa-620
- http://www.gentoo.org/security/en/glsa/glsa-200501-38.xml
- http://www.redhat.com/support/errata/RHSA-2005-103.html
- http://www.redhat.com/support/errata/RHSA-2005-105.html
- http://www.securityfocus.com/bid/12072