MEDIUM5.3
GHSA-j453-hm5x-c46w
Echo vulnerable to directory traversal
Quick fix
GHSA-j453-hm5x-c46w — github.com/labstack/echo/v4: upgrade to the fixed version with the command below.
go get github.com/labstack/echo/v4@v4.2.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/labstack/echo/v4
Introduced in:
0Fixed in: 4.2.0Fix
go get github.com/labstack/echo/v4@v4.2.0