CVE-2021-35397 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/an-tao/drogon | CVE | Third Party Advisory |
| https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67 | CVE | ExploitThird Party Advisory |
| https://github.com/an-tao/drogon/wiki/ENG-02-Installation | CVE | Third Party Advisory |
| https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site | CVE | Third Party Advisory |
| https://github.com/an-tao/drogon | [email protected] | Third Party Advisory |
| https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67 | [email protected] | ExploitThird Party Advisory |
| https://github.com/an-tao/drogon/wiki/ENG-02-Installation | [email protected] | Third Party Advisory |
| https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| drogon drogon | >= 1.1.0, <= 1.6.0 1.0.0 - 1.0.0 beta14 1.0.0 beta15 1.0.0 beta16 1.0.0 beta17 1.0.0 beta18 1.0.0 beta19 1.0.0 beta20 1.0.0 beta21 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 11, 2021 | Initial Analysis | [email protected] |