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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| github.com/labstack/echo/v4 | github.com/labstack/echo/v4 | < 4.1.18-0.20201215153152-4422e3b66b9f |
References
- https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaaPatch, Third Party Advisory
- https://github.com/labstack/echo/pull/1718Exploit, Patch, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2021-0051Release Notes, Vendor Advisory
- https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaaPatch, Third Party Advisory
- https://github.com/labstack/echo/pull/1718Exploit, Patch, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2021-0051Release Notes, Vendor Advisory
Timeline
- Published
- Dec 7, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified