github.com/gookit/goutil
Affected
- introduced
0, fixed0.6.0(semver)
Fixed versions
0.6.0
Fix
- Fixed version
0.6.0go get github.com/gookit/[email protected]
Advisory
Also known as: CVE-2023-27475, GO-2023-1611
Goutil vulnerable to path traversal when unzipping files
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.
High Basis: The source's own band: HIGH
0, fixed 0.6.0 (semver)0.6.0
0.6.0go get github.com/gookit/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0