CVE-2016-10374 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks because the tool lacks protection when writing output to the current working directory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-10374?
CVE-2016-10374 is a medium-severity path traversal vulnerability in n/a, published on 17 May 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
perltidy through 20160302, as used by perlcritic, check-all-the-things, and other software, relies on the current working directory for certain output files and does not have a symlink-attack protection mechanism, which allows local users to overwrite arbitrary files by creating a symlink, as demonstrated by creating a perltidy.ERR symlink that the victim cannot delete.
Weakness: CWE-59
Which versions are affected by CVE-2016-10374?
It affects 1 product.
Products include Perltidy Project Perltidy.
How do I fix CVE-2016-10374?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2016-10374 being exploited?
There is no known exploitation of CVE-2016-10374 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2016-10374, GHSA-hxj7-36fx-62r2, MGASA-2017-0301, UBUNTU-CVE-2016-10374.