CVE-2017-6512

MEDIUM

File::Path < 2.13 - Race Condition in rmtree and remove_tree Functions

Title source: llm
STIX 2.1

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.

References (9)

Core 9
Core References
Release Notes, Third Party Advisory x_refsource_confirm
http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3625-2/
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2017/dsa-3873
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/99180
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1038610
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201709-12
Third Party Advisory x_refsource_confirm
http://security.cucumberlinux.com/security/details.php?id=153
Issue Tracking x_refsource_confirm
https://rt.cpan.org/Ticket/Display.html?id=121951
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3625-1/

Scores

CVSS v3 5.9
EPSS 0.0236
EPSS Percentile 81.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-362
Status published
Products (7)
canonical/ubuntu_linux 12.04
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
debian/debian_linux 8.0
debian/debian_linux 9.0
file\/\ < 2.13
Published Jun 01, 2017
Tracked Since Feb 18, 2026