8.8high
Go-huge-util vulnerable to path traversal when unzipping files
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5g39-ppwg-6xx8GO-2023-1640
Description
go-used-util has commonly used utility functions for Go. Versions prior to 0.0.34 have a ZipSlip issue when using fsutil package to unzip files. When users use `zip.Unzip` to unzip zip files from a malicious attacker, they may be vulnerable to path traversal. The issue has been fixed in version 0.0.34. There are no known workarounds.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dablelv go-huge-util | < 0.0.34 | CVE List |
| github.com/dablelv/go-huge-util (Go) | before 0.0.34 | GitHub Advisory Database, Go Vulnerability Database |
| go-huge-util_project go-huge-util | before 0.0.34 | NVD |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
go-used-util has commonly used utility functions for Go. Versions prior to 0.0.34 have a ZipSlip issue when using fsutil package to unzip files. When users use `zip.Unzip` to unzip zip files from a malicious attacker, they may be vulnerable to path traversal. The issue has been fixed in version 0.0.34. There are no known workarounds.
GitHub Advisory Database
Impact ZipSlip issue when use fsutil package to unzip files. When users use zip.Unzip to unzip zip files from a malicious attacker, they may be vulnerable to path traversal.
Patches It has been fixed in v0.0.34, Please upgrade version to v0.0.34 or above.
Workarounds No, users have to upgrade version.
Specific Go Packages Affected github.com/dablelv/go-huge-util/zip
References
Go Vulnerability Database
Path traversal when unzipping files in github.com/dablelv/go-huge-util
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-28105 changed 2025-02-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5g39-ppwg-6xx8 changed 2023-11-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1640 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2023-28105 changed 2026-06-17 | Public domain |