CVE-2017-6512
What it is
Race condition in the rmtree and remove_tree functions in the File-Path module before 2.13 for Perl allows attackers to set the mode on arbitrary files via vectors involving directory-permission loosening logic.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 2.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
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: 2.4% in the next 30 days (EPSS).
- Severity: 5.9 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 2.4% · EPSS, next 30 days
- Weakness
- CWE-362 · Race condition
- Record status
- Modified
Affected
- file\ \ < 2.13
- Canonical Ubuntu Linux 12.04
- Canonical Ubuntu Linux 14.04
- Canonical Ubuntu Linux 16.04
- Canonical Ubuntu Linux 17.10
- Debian Linux 8.0
- Debian Linux 9.0
Attack profile CVSS 3.1 · 5.9
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
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-2017-6512.md and follow it. Check whether this project is affected by CVE-2017-6512. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes
- http://security.cucumberlinux.com/security/details.php?id=153
- http://www.debian.org/security/2017/dsa-3873
- http://www.securityfocus.com/bid/99180
- http://www.securitytracker.com/id/1038610
- https://rt.cpan.org/Ticket/Display.html?id=121951
- https://security.gentoo.org/glsa/201709-12
- https://usn.ubuntu.com/3625-1/
- https://usn.ubuntu.com/3625-2/
- http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes
- http://security.cucumberlinux.com/security/details.php?id=153
- http://www.debian.org/security/2017/dsa-3873
- http://www.securityfocus.com/bid/99180
- http://www.securitytracker.com/id/1038610
- https://rt.cpan.org/Ticket/Display.html?id=121951
- https://security.gentoo.org/glsa/201709-12
- https://usn.ubuntu.com/3625-1/
- https://usn.ubuntu.com/3625-2/