Path Traversal in Github.com/labstack/echo/v4
CVE-2020-36565
Due to improper sanitization of user input on Windows, the static file handler allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.014, 72.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Github.com/labstack/echo/v4 — versions 0
- Labstack Echo
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, Live-Hack-CVE/CVE-2020-36565). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/labstack/echo/pull/1718 (Exploit, Patch, Third Party Advisory)
- github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa (Patch, Third Party Advisory)
- pkg.go.dev/vuln/GO-2021-0051 (Release Notes, Vendor Advisory)