ADVISORIES

Go Vulnerability Database

GO-2021-0051

Directory traversal on Windows in github.com/labstack/echo/v4

Details

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

EcosystemPackageAffected versions
Gogithub.com/labstack/echo/v4
All versions before 4.1.18-0.20201215153152-4422e3b66b9f (fixed in 4.1.18-0.20201215153152-4422e3b66b9f)

References