GHSA-fx2v-qfhr-4chv

Suggest an improvement
Source
https://github.com/advisories/GHSA-fx2v-qfhr-4chv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-fx2v-qfhr-4chv/GHSA-fx2v-qfhr-4chv.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fx2v-qfhr-4chv
Aliases
Related
Published
2023-03-07T20:37:09Z
Modified
2023-11-01T05:01:34.992919Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Goutil vulnerable to path traversal when unzipping files
Details

Impact

ZipSlip issue when use fsutil package to unzip files. When users use fsutil.Unzip to unzip zip files from a malicious attacker, they may be vulnerable to path traversal.

Patches

It has been fixed in v0.6.0, Please upgrade version to v0.6.0 or above.

Workarounds

No, users have to upgrade version.

Database specific
{
    "nvd_published_at": "2023-03-07T18:15:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-07T20:37:09Z"
}
References

Affected packages

Go / github.com/gookit/goutil

Package

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

Affected ranges

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