{"api_version":"1","generated_at":"2026-04-23T02:34:25+00:00","cve":"CVE-2017-6512","urls":{"html":"https://cve.report/CVE-2017-6512","api":"https://cve.report/api/cve/CVE-2017-6512.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-6512","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-6512"},"summary":{"title":"CVE-2017-6512","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-06-01 16:29:00","updated_at":"2020-04-29 20:24:00"},"problem_types":["CWE-362"],"metrics":[],"references":[{"url":"http://www.debian.org/security/2017/dsa-3873","name":"DSA-3873","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-3873-1 perl","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id/1038610","name":"1038610","refsource":"SECTRACK","tags":["Third Party Advisory","VDB Entry"],"title":"Perl File::Path Race Condition in rmtree() and remove_tree() Lets Local Users Modify File Modes - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3625-1/","name":"USN-3625-1","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3625-1: Perl vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://rt.cpan.org/Ticket/Display.html?id=121951","name":"https://rt.cpan.org/Ticket/Display.html?id=121951","refsource":"CONFIRM","tags":["Issue Tracking"],"title":"Bug #121951 for File-Path: Vulnerability in rmtree() and remove_tree(): CVE-2017-6512","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201709-12","name":"GLSA-201709-12","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"Perl: Race condition vulnerability (GLSA 201709-12) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3625-2/","name":"USN-3625-2","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3625-2: Perl vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.cucumberlinux.com/security/details.php?id=153","name":"http://security.cucumberlinux.com/security/details.php?id=153","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"CLD-153 Details","mime":"text/html","httpstatus":"200","archivestatus":"503"},{"url":"http://www.securityfocus.com/bid/99180","name":"99180","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"File-Path Module CVE-2017-6512 Multiple Security Bypass Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes","name":"http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes","refsource":"CONFIRM","tags":["Release Notes","Third Party Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6512","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6512","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"12.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"esm","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"17.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"12.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"esm","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"17.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"file","cpe5":"","cpe6":"path_project","cpe7":"file","cpe8":"","cpe9":"path","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"file\\","cpe5":"\\","cpe6":"path_project","cpe7":"file\\","cpe8":"\\","cpe9":"path","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"6512","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"file\\","cpe5":"\\","cpe6":"path_project","cpe7":"file\\","cpe8":"\\","cpe9":"path","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-6512","qid":"296091","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 6.1.4 Missing (CPUJAN2019)"},{"cve":"CVE-2017-6512","qid":"670247","title":"EulerOS Security Update for perl-File-Path (EulerOS-SA-2021-1829)"},{"cve":"CVE-2017-6512","qid":"670663","title":"EulerOS Security Update for perl-File-Path (EulerOS-SA-2021-2422)"},{"cve":"CVE-2017-6512","qid":"710329","title":"Gentoo Linux Perl RApplication Control Engine condition Vulnerability (GLSA 201709-12)"},{"cve":"CVE-2017-6512","qid":"752587","title":"SUSE Enterprise Linux Security Update for perl (SUSE-SU-2022:3271-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-6512","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes","refsource":"CONFIRM","url":"http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes"},{"name":"USN-3625-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3625-2/"},{"name":"DSA-3873","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3873"},{"name":"99180","refsource":"BID","url":"http://www.securityfocus.com/bid/99180"},{"name":"1038610","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1038610"},{"name":"GLSA-201709-12","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201709-12"},{"name":"http://security.cucumberlinux.com/security/details.php?id=153","refsource":"CONFIRM","url":"http://security.cucumberlinux.com/security/details.php?id=153"},{"name":"https://rt.cpan.org/Ticket/Display.html?id=121951","refsource":"CONFIRM","url":"https://rt.cpan.org/Ticket/Display.html?id=121951"},{"name":"USN-3625-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3625-1/"}]}},"nvd":{"publishedDate":"2017-06-01 16:29:00","lastModifiedDate":"2020-04-29 20:24:00","problem_types":["CWE-362"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.2,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:file\\:\\:path_project:file\\:\\:path:*:*:*:*:*:perl:*:*","versionEndExcluding":"2.13","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"6512","Ordinal":"103198","Title":"CVE-2017-6512","CVE":"CVE-2017-6512","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"6512","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"6512","Ordinal":"2","NoteData":"2017-06-01","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"6512","Ordinal":"3","NoteData":"2018-05-01","Type":"Other","Title":"Modified"}]}}}