CVE-2021-35397 Path traversal in n/a
An unauthenticated remote attacker can read restricted files via path traversal in the Drogon static router due to insufficient input validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-35397?
CVE-2021-35397 is a high-severity path traversal vulnerability in n/a, published on 4 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A path traversal vulnerability in the static router for Drogon from 1.0.0-beta14 to 1.6.0 could allow an unauthenticated, remote attacker to arbitrarily read files. The vulnerability is due to lack of proper input validation for requested path. An attacker could exploit this vulnerability by sending crafted HTTP request with specific path to read. Successful exploitation could allow the attacker to read files that should be restricted.
Weakness: CWE-22
Which versions are affected by CVE-2021-35397?
It affects 1 product.
Products include Drogon Drogon.
How do I fix CVE-2021-35397?
No fix has been published for CVE-2021-35397 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-35397 being exploited?
There is no known exploitation of CVE-2021-35397 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-69wp-9456-2p9w.