CVE-2020-36560

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

Configuration 1 (hide)

cpe:2.3:a:go-unzip_project:go-unzip:*:*:*:*:*:go:*:*

History

21 Nov 2024, 05:29

Type Values Removed Values Added
Summary
  • (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 () https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0 - Patch, Third Party Advisory () https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0 - Patch, Third Party Advisory
References () https://github.com/artdarek/go-unzip/pull/2 - Exploit, Third Party Advisory () https://github.com/artdarek/go-unzip/pull/2 - Exploit, Third Party Advisory
References () https://pkg.go.dev/vuln/GO-2020-0034 - Third Party Advisory () https://pkg.go.dev/vuln/GO-2020-0034 - Third Party Advisory
References () https://snyk.io/research/zip-slip-vulnerability - Technical Description, Third Party Advisory () https://snyk.io/research/zip-slip-vulnerability - Technical Description, Third Party Advisory

Information

Published : 2022-12-27 22:15

Updated : 2025-04-11 17:15


NVD link : CVE-2020-36560

Mitre link : CVE-2020-36560

CVE.ORG link : CVE-2020-36560


JSON object : View

Products Affected

go-unzip_project

  • go-unzip
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')