CVE-2017-6512
Summary
| CVE | CVE-2017-6512 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-06-01 16:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Problem Types: CWE-362 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| 2.0 | [email protected] | Primary | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 12.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 17.10 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Application | File | path_project | file\ | \ | path |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| CLD-153 Details | af854a3a-2127-422b-91ae-364da2661108 | security.cucumberlinux.com | Third Party Advisory |
| Bug #121951 for File-Path: Vulnerability in rmtree() and remove_tree(): CVE-2017-6512 | af854a3a-2127-422b-91ae-364da2661108 | rt.cpan.org | Issue Tracking |
| cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes | af854a3a-2127-422b-91ae-364da2661108 | cpansearch.perl.org | Release Notes, Third Party Advisory |
| Debian -- Security Information -- DSA-3873-1 perl | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| File-Path Module CVE-2017-6512 Multiple Security Bypass Vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| USN-3625-1: Perl vulnerabilities | Ubuntu security notices | af854a3a-2127-422b-91ae-364da2661108 | usn.ubuntu.com | Third Party Advisory |
| USN-3625-2: Perl vulnerabilities | Ubuntu security notices | af854a3a-2127-422b-91ae-364da2661108 | usn.ubuntu.com | Third Party Advisory |
| Perl: Race condition vulnerability (GLSA 201709-12) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| Perl File::Path Race Condition in rmtree() and remove_tree() Lets Local Users Modify File Modes - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | Third Party Advisory, VDB Entry |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 296091 Oracle Solaris 11.4 Support Repository Update (SRU) 6.1.4 Missing (CPUJAN2019)
- 670247 EulerOS Security Update for perl-File-Path (EulerOS-SA-2021-1829)
- 670663 EulerOS Security Update for perl-File-Path (EulerOS-SA-2021-2422)
- 710329 Gentoo Linux Perl RApplication Control Engine condition Vulnerability (GLSA 201709-12)
- 752587 SUSE Enterprise Linux Security Update for perl (SUSE-SU-2022:3271-1)