CVE-2023-28105
JSON

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 packageVersionsReported by
dablelv go-huge-util< 0.0.34CVE List
github.com/dablelv/go-huge-util (Go)before 0.0.34GitHub Advisory Database, Go Vulnerability Database
go-huge-util_project go-huge-utilbefore 0.0.34NVD

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2023-28105 changed 2025-02-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-5g39-ppwg-6xx8 changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1640 changed 2024-05-20CC-BY-4.0
NVDCVE-2023-28105 changed 2026-06-17Public domain