CVE-2017-6512
medium
CVSS v3
5.9
CVSS v4 NEW
โ
VIR risk
5.9
Description
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.
Predictions
Exploit likelihood
69%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| ubuntu | 16.04 | affected | |
| ubuntu | 17.10 | affected | |
| ubuntu | 12.04 | affected | |
| ubuntu | 14.04 | affected | |
| debian | bookworm | fixed | 5.24.1-3 |
| debian | bullseye | fixed | 5.24.1-3 |
| debian | forky | fixed | 5.24.1-3 |
| debian | sid | fixed | 5.24.1-3 |
| debian | trixie | fixed | 5.24.1-3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| file\ | \ | {"endExcluding":"2.13"} | 2.13 |
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/
- https://www.suse.com/security/cve/CVE-2017-6512.html
- https://security-tracker.debian.org/tracker/CVE-2017-6512
CWEs
CWE-362
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.