Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1ybWo5LXE1OGctOXFnZ84AAwoW
go-unzip vulnerable to Path Traversal
Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Permalink: https://github.com/advisories/GHSA-rmj9-q58g-9qggJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ybWo5LXE1OGctOXFnZ84AAwoW
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: 8 months ago
CVSS Score: 9.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Identifiers: GHSA-rmj9-q58g-9qgg, CVE-2020-36560
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36560
- https://github.com/artdarek/go-unzip/pull/2
- https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0
- https://pkg.go.dev/vuln/GO-2020-0034
- https://snyk.io/research/zip-slip-vulnerability
- https://github.com/advisories/GHSA-rmj9-q58g-9qgg
Blast Radius: 16.0
Affected Packages
go:github.com/artdarek/go-unzip
Dependent packages: 29Dependent repositories: 58
Downloads:
Affected Version Ranges: < 2.0.0
Fixed in: 2.0.0
All affected versions: 1.0.0
All unaffected versions: