CVE-2023-27475 json
Goutil vulnerable to path traversal when unzipping files
published 2023-03-07 3 y ago modified 2026-06-17 4 mo ago also GHSA-fx2v-qfhr-4chv , GO-2023-1611 , EUVD-2023-1005
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/gookit/goutil 0.6.0, 0.6.7
- goutil_project goutil 0.6.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
0.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gookit/goutil | <0.6.0 <0.6.7 |
0.6.0 0.6.7 |
Affected products
- gookit goutil
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc
web, patch
-
github.com
/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv
web, vendor-advisory, advisory
- security.netapp.com /advisory/ntap-20230427-0003/
-
nvd.nist.gov
/vuln/detail/CVE-2023-27475
advisory
-
github.com
/gookit/goutil
package
-
pkg.go.dev
/vuln/GO-2023-1611
web
-
security.netapp.com
/advisory/ntap-20230427-0003
web
Sources
- CVE List CVE-2023-27475
- GitHub Advisory GHSA-fx2v-qfhr-4chv
- NVD CVE-2023-27475
- OSV GO-2023-1611
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.