CVE-2023-27475

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go/github.com/gookit/goutil

Identifiers

CVE-2023-27475, GHSA-fx2v-qfhr-4chv

Package Slug

go/github.com/gookit/goutil

Vulnerability

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

Description

Goutil is a collection of miscellaneous functionality for the go language. In versions prior to 0.6.0 when users use fsutil.Unzip to unzip zip files from a malicious attacker, they may be vulnerable to path traversal. This vulnerability is known as a ZipSlip. This issue has been fixed in version 0.6.0, users are advised to upgrade. There are no known workarounds for this issue.

Affected Versions

All versions before 0.6.0

Solution

Upgrade to version 0.6.0 or above.

Last Modified

2023-03-08

source