CVE-2023-27475
HIGH 8.8CVSS 3.1Goutil vulnerable to path traversal when unzipping files
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.
- Published
- 7 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-fx2v-qfhr-4chvGO-2023-1611
- Sources
- NVDJSONOSV GHSA-fx2v-qfhr-4chvJSONOSV GO-2023-1611JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | goutil_project | goutilcpe:2.3:a:goutil_project:goutil:*:*:*:*:*:go:*:* |
< 0.6.0 | 0.6.0 |
| OSV | Go | github.com/gookit/goutil | < 0.6.0 | 0.6.0 |
| OSV | Go | github.com/gookit/goutil | < 0.6.7 | 0.6.7 |
References
- https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc · Patch, WEB, FIX
- https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv · Vendor Advisory, WEB, ADVISORY
- https://security.netapp.com/advisory/ntap-20230427-0003/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-27475 · ADVISORY
- https://github.com/gookit/goutil · PACKAGE
- https://pkg.go.dev/vuln/GO-2023-1611 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Mar 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Mar 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Mar 2023)