5.9
MEDIUM
CVE-2017-6512
File-Path race condition Directory Permission Loosening
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.

INFO

Published Date :

June 1, 2017, 4:29 p.m.

Last Modified :

Nov. 21, 2024, 3:29 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2017-6512 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-6512 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 File\ \
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-6512.

URL Resource
http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes Release Notes Third Party Advisory
http://security.cucumberlinux.com/security/details.php?id=153 Third Party Advisory
http://www.debian.org/security/2017/dsa-3873 Third Party Advisory
http://www.securityfocus.com/bid/99180 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1038610 Third Party Advisory VDB Entry
https://rt.cpan.org/Ticket/Display.html?id=121951 Issue Tracking
https://security.gentoo.org/glsa/201709-12 Third Party Advisory
https://usn.ubuntu.com/3625-1/ Third Party Advisory
https://usn.ubuntu.com/3625-2/ Third Party Advisory
http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes Release Notes Third Party Advisory
http://security.cucumberlinux.com/security/details.php?id=153 Third Party Advisory
http://www.debian.org/security/2017/dsa-3873 Third Party Advisory
http://www.securityfocus.com/bid/99180 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1038610 Third Party Advisory VDB Entry
https://rt.cpan.org/Ticket/Display.html?id=121951 Issue Tracking
https://security.gentoo.org/glsa/201709-12 Third Party Advisory
https://usn.ubuntu.com/3625-1/ Third Party Advisory
https://usn.ubuntu.com/3625-2/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

content creation around image building for containers

Shell

Updated: 5 months, 3 weeks ago
1 stars 4 fork 4 watcher
Born at : May 16, 2018, 6:10 p.m. This repo has been linked 6 different CVEs too.

Security scan Images with Clair

Python Dockerfile

Updated: 1 month, 3 weeks ago
27 stars 10 fork 10 watcher
Born at : Oct. 22, 2017, 2:26 p.m. This repo has been linked 38 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-6512 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-6512 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Apr. 29, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes Release Notes http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes Release Notes, Third Party Advisory
    Changed Reference Type http://security.cucumberlinux.com/security/details.php?id=153 No Types Assigned http://security.cucumberlinux.com/security/details.php?id=153 Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2017/dsa-3873 No Types Assigned http://www.debian.org/security/2017/dsa-3873 Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/99180 No Types Assigned http://www.securityfocus.com/bid/99180 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.securitytracker.com/id/1038610 No Types Assigned http://www.securitytracker.com/id/1038610 Third Party Advisory, VDB Entry
    Changed Reference Type https://security.gentoo.org/glsa/201709-12 No Types Assigned https://security.gentoo.org/glsa/201709-12 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3625-1/ No Types Assigned https://usn.ubuntu.com/3625-1/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3625-2/ No Types Assigned https://usn.ubuntu.com/3625-2/ Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:file-path_project:file-path_module:*:*:*:*:*:perl:*:* versions up to (including) 2.12 OR *cpe:2.3:a:file\:\:path_project:file\:\:path:*:*:*:*:*:perl:*:* versions up to (excluding) 2.13
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 02, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3625-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 19, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3625-2/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 26, 2017

    Action Type Old Value New Value
    Added Reference http://security.cucumberlinux.com/security/details.php?id=153 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3873 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 19, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201709-12 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 08, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1038610 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 23, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/99180 [No Types Assigned]
  • Reanalysis by [email protected]

    Jun. 13, 2017

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:jkeenan:file-path_module:2.12:*:*:*:*:perl:*:* (and previous) OR *cpe:2.3:a:file-path_project:file-path_module:2.12:*:*:*:*:perl:*:* (and previous)
  • Initial Analysis by [email protected]

    Jun. 13, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://rt.cpan.org/Ticket/Display.html?id=121951 No Types Assigned https://rt.cpan.org/Ticket/Display.html?id=121951 Issue Tracking
    Changed Reference Type http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes No Types Assigned http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes Release Notes
    Added CWE CWE-362
    Added CPE Configuration OR *cpe:2.3:a:jkeenan:file-path_module:2.12:*:*:*:*:perl:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-6512 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-6512 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.46 }} -0.19%

score

0.72221

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability