GHSA-88jf-7rch-32qc

Suggest an improvement
Source
https://github.com/advisories/GHSA-88jf-7rch-32qc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-88jf-7rch-32qc/GHSA-88jf-7rch-32qc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-88jf-7rch-32qc
Aliases
Published
2021-05-18T20:31:18Z
Modified
2023-11-01T04:53:32.552352Z
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
github.com/unknwon/cae Path Traversal vulnerability
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.

Database specific
{
    "nvd_published_at": "2020-06-23T19:38:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-12T20:32:28Z"
}
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
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1