PT-2017-3266 · Perl+2 · File-Path+2
Published
2017-04-07
·
Updated
2024-06-15
·
CVE-2017-6512
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
File-Path module versions prior to 2.13
Description
The issue is related to a race condition in the rmtree and remove tree functions of the File-Path module for Perl. This condition arises due to errors in synchronization when using shared resources, specifically a time-of-check to time-of-use (TOCTOU) vulnerability. The exploitation of this issue could allow a remote attacker to compromise data integrity by setting the mode on arbitrary files through vectors involving directory-permission loosening logic.
Recommendations
For versions prior to 2.13, update to version 2.13 or later to resolve the issue. As a temporary workaround, consider restricting access to the rmtree and remove tree functions until a patch is applied.
Fix
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
File-Path
Suse
Ubuntu