CVE-2020-21365 Path traversal in n/a
Remote attackers can read local files and disclose sensitive information via a crafted HTML file in wkhtmltopdf.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-21365?
CVE-2020-21365 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 15 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.
Weakness: CWE-22
Which versions are affected by CVE-2020-21365?
It affects 2 products.
Products include Debian Debian Linux, Wkhtmltopdf Wkhtmltopdf.
How do I fix CVE-2020-21365?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-21365 being exploited?
There is no known exploitation of CVE-2020-21365 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-21365, DLA-3158-1, GHSA-36cg-hvm7-mhwp, MGASA-2022-0407, UBUNTU-CVE-2020-21365, USN-6232-1.