Security mailing lists by PureSourceCode

CVE-2020-36565

MEDIUM 5.3CVSS 3.1

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.

Published
7 Dec 2022
Last modified
17 Jun 2026
Assigned by
security@golang.org
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-j453-hm5x-c46wGO-2021-0051
Sources
NVDJSONOSV GHSA-j453-hm5x-c46wJSONOSV GO-2021-0051JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD labstack echo
cpe:2.3:a:labstack:echo:*:*:*:*:*:go:*:*
< 4.2.0 4.2.0
OSV Go github.com/labstack/echo/v4 < 4.2.0 4.2.0
OSV Go github.com/labstack/echo/v4 < 4.1.18-0.20201215153152-4422e3b66b9f 4.1.18-0.20201215153152-4422e3b66b9f

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Dec 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.