Vulnerability · Published Mar 7, 2023 · Assigned by GitHub_M
CVE-2023-27475Goutil vulnerable to path traversal when unzipping files
High 8.8
In plain English
A high-severity path traversal in goutil from gookit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Goutil is a collection of miscellaneous functionality for the go language. In versions prior to 0.6.0 when users use fsutil.Unzip to unzip zip files from a malicious attacker, they may be vulnerable to path traversal. This vulnerability is known as a ZipSlip. This issue has been fixed in version 0.6.0, users are advised to upgrade. There are no known workarounds for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gookit/goutil | 0.6.0 | GHSA-fx2v-qfhr-4chv |
| Go | github.com/gookit/goutil | 0.6.7 | GO-2023-1611 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H