GHSA-vpx7-vm66-qx8r

Suggest an improvement
Source
https://github.com/advisories/GHSA-vpx7-vm66-qx8r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-vpx7-vm66-qx8r/GHSA-vpx7-vm66-qx8r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vpx7-vm66-qx8r
Aliases
Published
2021-05-18T20:31:06Z
Modified
2026-03-13T22:11:14Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Path Traversal in github.com/unknwon/cae/zip
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-12T20:27:31Z",
    "nvd_published_at":  "2020-06-23T19:38:00Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/unknwon/cae

Package

Name
github.com/unknwon/cae
View open source insights on deps.dev
Purl
pkg:golang/github.com/unknwon/cae

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-vpx7-vm66-qx8r/GHSA-vpx7-vm66-qx8r.json"