GHSA-rmj9-q58g-9qgg

Suggest an improvement
Source
https://github.com/advisories/GHSA-rmj9-q58g-9qgg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-rmj9-q58g-9qgg/GHSA-rmj9-q58g-9qgg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rmj9-q58g-9qgg
Aliases
Published
2022-12-28T00:30:23Z
Modified
2023-11-08T04:03:47.420850Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
go-unzip vulnerable to Path Traversal
Details

Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Database specific
{
    "github_reviewed_at": "2022-12-30T19:06:21Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "nvd_published_at": "2022-12-27T22:15:00Z",
    "severity": "CRITICAL",
    "github_reviewed": true
}
References

Affected packages

Go / github.com/artdarek/go-unzip

Package

Name
github.com/artdarek/go-unzip
View open source insights on deps.dev
Purl
pkg:golang/github.com/artdarek/go-unzip

Affected ranges

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