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-qx8r
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZweDctdm02Ni1xeDhy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 3 years ago
Updated: 7 months 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: Repository: https://github.com/unknwon/cae
Blast Radius: 14.8

Affected Packages

go:github.com/unknwon/cae
Dependent packages: 45
Dependent 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