CVE-2017-6306 Path traversal in n/a
An attacker can exploit a directory traversal vulnerability in the ytnef library to read or modify arbitrary files via crafted filenames.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-6306?
CVE-2017-6306 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 24 Feb 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "9 of 9. Directory Traversal using the filename; SanitizeFilename function in settings.c."
Weakness: CWE-22
Which versions are affected by CVE-2017-6306?
It affects 2 products.
Products include Debian Debian Linux, Ytnef Project Ytnef.
How do I fix CVE-2017-6306?
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-2017-6306 being exploited?
There is no known exploitation of CVE-2017-6306 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-6306, GHSA-cmr5-7cg8-qhqv, UBUNTU-CVE-2017-6306.