CVE-2017-6512 Race condition in n/a
Attackers can exploit a race condition in Perl's File-Path module to modify permissions on arbitrary files, potentially leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-6512?
CVE-2017-6512 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 1 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-362
Which versions are affected by CVE-2017-6512?
It affects 3 products.
Linux distribution packages (17)
perl SUSE:Linux Enterprise Micro 5.1 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Micro 5.2 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Module for Development Tools 15 SP3 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Module for Development Tools 15 SP4 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Module for Package Hub 15 SP3 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Module for Package Hub 15 SP4 | All versions | 5.26.1-150300.17.11.1 |
perl SUSE:Linux Enterprise Server 11 SP4 | All versions | 5.10.0-64.81.3.1 |
perl-File-Path SUSE:Linux Enterprise Server 12 SP5 | All versions | 2.150000-8.3.1 |
perl SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 5.10.0-64.81.3.1 |
perl-File-Path SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 2.150000-8.3.1 |
perl SUSE:Linux Enterprise Software Development Kit 11 SP4 | All versions | 5.10.0-64.81.3.1 |
perl openSUSE:Leap 15.3 | All versions | 5.26.1-150300.17.11.1 |
perl openSUSE:Leap 15.4 | All versions | 5.26.1-150300.17.11.1 |
perl openSUSE:Leap Micro 5.2 | All versions | 5.26.1-150300.17.11.1 |
perl-File-Path openSUSE:Tumbleweed | All versions | 2.180000-1.15 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, File\ \.
How do I fix CVE-2017-6512?
Upgrade to a fixed version.
Is CVE-2017-6512 being exploited?
There is no known exploitation of CVE-2017-6512 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2017-6512, DLA-978-1, DSA-3873-1, GHSA-wf3v-xjg6-86hx, SUSE-SU-2017:2951-1, SUSE-SU-2021:0449-1 and 3 more.