title: Directory traversal on Windows in github.com/labstack/echo/v4
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.
problem types: CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
affected:
{
vendor: github.com/labstack/echo/v4
product: github.com/labstack/echo/v4
collectionURL: https://pkg.go.dev
packageName: github.com/labstack/echo/v4
versions:
version: 0, lessThan: 4.1.18-0.20201215153152-4422e3b66b9f, status: affected, versionType: semver
platforms: windows
programRoutines:
name: common.static
name: Echo.Static
name: Group.Static
defaultStatus: unaffected
}