Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gookit/goutil
  4. ›
  5. CVE-2023-27475

CVE-2023-27475: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

March 7, 2023 (updated April 27, 2023)

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.

References

  • github.com/advisories/GHSA-fx2v-qfhr-4chv
  • github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc
  • github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv
  • nvd.nist.gov/vuln/detail/CVE-2023-27475

Code Behaviors & Features

Detect and mitigate CVE-2023-27475 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.6.0

Fixed versions

  • v0.6.0

Solution

Upgrade to version 0.6.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/gookit/goutil/CVE-2023-27475.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:19 +0000.