GHSA-j453-hm5x-c46w
Echo vulnerable to directory traversal
At a glance
- Published
- Updated
- CVE
- CVE-2020-36565
- Aliases
- GO-2021-0051
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/labstack/echo/v4 | introduced 0, fixed 4.2.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-36565 ADVISORY
- https://github.com/labstack/echo/pull/1718 WEB
- https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa WEB
- https://github.com/labstack/echo PACKAGE
- https://pkg.go.dev/vuln/GO-2021-0051 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |