CVE-2020-36566
JSON

9.1critical

Path traversal in github.com/whyrusleeping/tar-utils

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.11% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GHSA-jpf8-h7h7-3ppmGO-2021-0106

Description

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Affected

Product or packageVersionsReported by
github.com/whyrusleeping/tar-utilsbefore 0.0.0-20201201191210-20a61371de5bCVE List
github.com/whyrusleeping/tar-utils (Go)before 0.0.0-20201201191210-20a61371de5bGitHub Advisory Database, Go Vulnerability Database
tar-utils_project tar-utilsbefore 0.0.0-20201201191210-20a61371de5bNVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

NVD (es)

Debido a una sanitización inadecuada de la ruta, los archivos que contienen rutas de archivo relativas pueden hacer que los archivos se escriban (o sobrescriban) fuera del directorio de destino.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36566 changed 2025-04-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-jpf8-h7h7-3ppm changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2021-0106 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-36566 changed 2026-06-17Public domain