CVE-2020-36565
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| github.com/labstack/echo/v4 | github.com/labstack/echo/v4 | 0 < 4.1.18-0.20201215153152-4422e3b66b9f | affected |
Weaknesses
- CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/labstack/echo/pull/1718
- https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa
- https://pkg.go.dev/vuln/GO-2021-0051
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: partial
References
- https://github.com/labstack/echo/pull/1718
- https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa
- https://pkg.go.dev/vuln/GO-2021-0051
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.