Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZweDctdm02Ni1xeDhy
Path Traversal in github.com/unknwon/cae/zip
The ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading "..". This allows an attacker to add or replace files system-wide.
Specific Go Packages Affected
github.com/unknwon/cae/zip
Permalink: https://github.com/advisories/GHSA-vpx7-vm66-qx8rJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZweDctdm02Ni1xeDhy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Identifiers: GHSA-vpx7-vm66-qx8r, CVE-2020-7664
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-7664
- https://github.com/unknwon/cae/commit/07971c00a1bfd9dc171c3ad0bfab5b67c2287e11
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383
- https://pkg.go.dev/vuln/GO-2021-0228
- https://github.com/advisories/GHSA-vpx7-vm66-qx8r
Blast Radius: 14.8
Affected Packages
go:github.com/unknwon/cae
Dependent packages: 45Dependent repositories: 93
Downloads:
Affected Version Ranges: < 1.0.1
Fixed in: 1.0.1
All affected versions: 0.0.1, 1.0.0
All unaffected versions: 1.0.1, 1.0.2