Live threats

All CVEs / Go-unzip Project

CVE-2020-36560Go-unzip Project Go-unzip

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Dec 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-unzip.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/artdarek/go-unzip < 2.0.0 2.0.0 go get github.com/artdarek/go-unzip@v2.0.0
Go github.com/artdarek/go-unzip < 1.0.0 1.0.0 go get github.com/artdarek/go-unzip@v1.0.0

Per OSV / GitHub Advisories (GHSA-rmj9-q58g-9qgg, GO-2020-0034). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
go-unzip_projectgo-unzip< 1.0.0

Official sources

References

Links published by the sources. Open them with care.