{"id":"CVE-2017-6512","details":"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.","modified":"2026-03-12T22:39:35.606015Z","published":"2017-06-01T16:29:00.340Z","related":["MGASA-2018-0047","SUSE-SU-2017:2951-1","SUSE-SU-2017:3092-1","SUSE-SU-2021:0449-1","SUSE-SU-2022:3271-1","SUSE-SU-2024:1630-1","openSUSE-SU-2024:13154-1"],"references":[{"type":"ADVISORY","url":"http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes"},{"type":"ADVISORY","url":"http://security.cucumberlinux.com/security/details.php?id=153"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201709-12"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3625-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3625-2/"},{"type":"ADVISORY","url":"http://www.debian.org/security/2017/dsa-3873"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/99180"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1038610"},{"type":"REPORT","url":"https://rt.cpan.org/Ticket/Display.html?id=121951"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"2.13"}]},{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"17.10"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-6512.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}