GO-2021-0051
Dashboard / Vulnerabilities / GO-2021-0051
GO-2021-0051
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
Summary: 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.
References: https://github.com/labstack/echo/pull/1718, https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa
Affected packages
Package
Name: github.com/labstack/echo/v4
Purl: pkg:golang/github.com/labstack/echo/v4
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -4.1.18-0.20201215153152-4422e3b66b9f
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
