Skip to content

CVE-2020-36560 Path traversal in github.com/artdarek/go-unzip

CriticalCVSS 9.1 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
artdarek github.com/artdarek/go-unzip(Go) < 1.0.0; < 2.0.0 1.0.0, 2.0.0 Fixed
go-unzip project go-unzip < 1.0.0 1.0.0 Fixed

Affected products

ProductAffected versionsFixed in
artdarek github.com/artdarek/go-unzip(Go) < 2.0.0 2.0.0
artdarek github.com/artdarek/go-unzip(Go) < 1.0.0 1.0.0
go-unzip project go-unzip < 1.0.0 1.0.0

References