5.9med

CVE-2017-6512

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 arb…

Published 9 y ago · modified 4 mo ago · JSON

CVSS
5.9
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.4%
percentile 84%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.36% probability of exploitation in the next 30 days, higher than 84% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.15.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

  • cpansearch.perl.org /src/JKEENAN/File-Path-2.13/Changes · x_refsource_CONFIRM, x_transferred
  • usn.ubuntu.com /3625-2/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • debian.org /security/2017/dsa-3873 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • securityfocus.com /bid/99180 · vdb-entry, x_refsource_BID, x_transferred
  • securitytracker.com /id/1038610 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • security.gentoo.org /glsa/201709-12 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • security.cucumberlinux.com /security/details.php?id=153 · x_refsource_CONFIRM, x_transferred
  • rt.cpan.org /Ticket/Display.html?id=121951 · x_refsource_CONFIRM, x_transferred
  • usn.ubuntu.com /3625-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.