What’s Vulnerable › Vulnerabilities
CVE-2023-27475: Goutil vulnerable to path traversal when unzipping files
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-03-07 · updated 2026-06-17
- Weakness: CWE-22
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 products
- gookit goutil: before 0.6.0 — fixed in 0.6.0
How to fix
Upgrade to a fixed version: gookit goutil 0.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc
- https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv
- https://security.netapp.com/advisory/ntap-20230427-0003/
- https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc
- https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv
- https://security.netapp.com/advisory/ntap-20230427-0003/
Get alerted when CVE-2023-27475 or the next vulnerability affects your stack