CVE-2023-28105

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go/github.com/dablelv/go-huge-util/zip

Identifiers

CVE-2023-28105, GHSA-5g39-ppwg-6xx8

Package Slug

go/github.com/dablelv/go-huge-util/zip

Vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

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 Versions

All versions before 0.0.34

Solution

Upgrade to version 0.0.34 or above.

Last Modified

2023-03-17

source