Goutil vulnerable to path traversal when unzipping files
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gookit | goutil | before 0.6.0 | 0.6.0 | Patch available | CNA |
| — | github.com/gookit/goutil (Go) | before 0.6.0 | 0.6.0 | Patch available | GHSA-fx2v-qfhr-4chv |
- goutil Vendorgookit Affected before 0.6.0 Fixed in 0.6.0 Patch available CNA
- github.com/gookit/goutil (Go) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-fx2v-qfhr-4chv
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:goutil_project:goutil:*:*:*:*:*:go:*:* | before 0.6.0 | Vulnerable | Goutil Project |
- cpe:2.3:a:goutil_project:goutil:*:*:*:*:*:go:*:* Versions before 0.6.0 Vulnerable ·Goutil Project
Remediation
- Fix · CNA goutil (gookit) Fixed in 0.6.0
- Fix · GHSA-fx2v-qfhr-4chv github.com/gookit/goutil (Go) Fixed in 0.6.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-27475
- 2026-10-03 Alias added: GHSA-fx2v-qfhr-4chv
References
Advisory 2
Sources
- CVE-2023-27475 · CVE Program
- CVE-2023-27475 · NVD
- FIRST EPSS
- GHSA-fx2v-qfhr-4chv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences