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.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.6%top 50.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/dablelv/go-huge-util0.0.34GHSA-5g39-ppwg-6xx8
Gogithub.com/dablelv/go-huge-util0.0.34GO-2023-1640

Affected products (as reported)

VendorProductVersions
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

References