Vulnerability · Published Dec 7, 2022 · Assigned by Go

CVE-2020-36565Directory traversal on Windows in github.com/labstack/echo/v4

Medium 5.3

In plain English

A medium-severity security flaw in github.com/labstack/echo/v4 from github.com/labstack/echo/v4. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.4%top 27.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/labstack/echo/v44.2.0GHSA-j453-hm5x-c46w
Gogithub.com/labstack/echo/v44.1.18-0.20201215153152-4422e3b66b9fGO-2021-0051
Ubuntu:22.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2020-36565
Ubuntu:24.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2020-36565
Ubuntu:25.10golang-github-labstack-echono fix listedUBUNTU-CVE-2020-36565
Ubuntu:26.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2020-36565
Ubuntu:26.10golang-github-labstack-echono fix listedUBUNTU-CVE-2020-36565

Affected products (as reported)

VendorProductVersions
github.com/labstack/echo/v4 github.com/labstack/echo/v4 0 – before 4.1.18-0.20201215153152-4422e3b66b9f

References