Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1qNDUzLWhtNXgtYzQ2d84AAwMu
Echo vulnerable to directory traversal
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.
Permalink: https://github.com/advisories/GHSA-j453-hm5x-c46wJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qNDUzLWhtNXgtYzQ2d84AAwMu
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: over 1 year ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Identifiers: GHSA-j453-hm5x-c46w, CVE-2020-36565
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36565
- https://github.com/labstack/echo/pull/1718
- https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa
- https://pkg.go.dev/vuln/GO-2021-0051
- https://github.com/advisories/GHSA-j453-hm5x-c46w
Blast Radius: 22.5
Affected Packages
go:github.com/labstack/echo/v4
Dependent packages: 5,814Dependent repositories: 17,976
Downloads:
Affected Version Ranges: < 4.2.0
Fixed in: 4.2.0
All affected versions: 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.1.9, 4.1.10, 4.1.11, 4.1.12, 4.1.13, 4.1.14, 4.1.15, 4.1.16, 4.1.17
All unaffected versions: 4.2.0, 4.2.1, 4.2.2, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.0, 4.7.1, 4.7.2, 4.8.0, 4.9.0, 4.9.1, 4.10.0, 4.10.1, 4.10.2, 4.11.0, 4.11.1, 4.11.2, 4.11.3, 4.11.4