{"id":"CVE-2021-35397","aliases":["CVE-2021-35397"],"related":[],"kind":"vulnerability","state":"published","title":"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 t…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de salto de ruta en el enrutador estático para Drogon desde versión 1.0.0-beta14 hasta 1.6.0, podría permitir a un atacante remoto no autenticado leer archivos de forma arbitraria. La vulnerabilidad es debido a una falta de comprobación de entrada apropiada para la ruta de acceso solicitada. Un atacante podría explotar esta vulnerabilidad mediante el envío de una petición HTTP diseñada con una ruta específica para leer. Una explotación con éxito podría permitir al atacante leer archivos que deberían estar restringidos","source":"nvd"}],"published":"2021-08-04T10:41:07.000Z","modified":"2026-06-17T03:57:29.560Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.1.0","lastAffected":"1.6.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"}],"vendor":"drogon","product":"drogon","cpe":"cpe:2.3:a:drogon:drogon:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/an-tao/drogon","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/an-tao/drogon/wiki/ENG-02-Installation","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-35397","url":"https://www.cve.org/CVERecord?id=CVE-2021-35397","licence":"CVE Terms of Use","modified":"2024-08-04T00:40:45.694Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-35397","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35397","licence":"Public domain","modified":"2026-06-17T03:57:29.560Z"}],"updatedAt":"2026-11-25T22:58:02.981Z","epss":{"score":0.04014,"percentile":0.90813,"date":"2026-12-01T12:00:22.000Z"}}