GO-2021-0051

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

At a glance

Published
Updated
CVE
CVE-2020-36565
Aliases
GHSA-j453-hm5x-c46w

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.

Affected packages

PackageVersions
Go · github.com/labstack/echo/v4introduced 0, fixed 4.1.18-0.20201215153152-4422e3b66b9f

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database