Vulnerability · Published Mar 16, 2023 · Assigned by GitHub_M
CVE-2023-28105Go-huge-util vulnerable to path traversal when unzipping files
High 8.8
In plain English
A high-severity path traversal in go-huge-util from dablelv. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/dablelv/go-huge-util | 0.0.34 | GHSA-5g39-ppwg-6xx8 |
| Go | github.com/dablelv/go-huge-util | 0.0.34 | GO-2023-1640 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dablelv | go-huge-util | < 0.0.34 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L