CVE-2020-36565
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.35% (higher than 72% of CVEs)
Published
Last changed
Assigned by
Go
Also known as
GHSA-j453-hm5x-c46wGO-2021-0051

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

Product or packageVersionsReported by
github.com/labstack/echo/v4before 4.1.18-0.20201215153152-4422e3b66b9fCVE List
github.com/labstack/echo/v4 (Go)before 4.2.0, before 4.1.18-0.20201215153152-4422e3b66b9fGitHub Advisory Database, Go Vulnerability Database
labstack echobefore 4.2.0NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Debido a una sanitización incorrecta de la entrada del usuario en Windows, el controlador de archivos estáticos permite directory traversal, lo que permite a un atacante leer archivos fuera del directorio de destino para los que el servidor tiene permiso de lectura.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36565 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-j453-hm5x-c46w changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2021-0051 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-36565 changed 2026-06-17Public domain