Advisory

GHSA-fx2v-qfhr-4chv

Also known as: CVE-2023-27475, GO-2023-1611

Summary

Goutil vulnerable to path traversal when unzipping files

Details

Impact

ZipSlip issue when use fsutil package to unzip files.
When users use fsutil.Unzip to unzip zip files from a malicious attacker, they may be vulnerable to path traversal.

Patches

It has been fixed in v0.6.0, Please upgrade version to v0.6.0 or above.

Workarounds
No, users have to upgrade version.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-07 20:37 UTC
Modified
2023-11-08 04:12 UTC

Affected packages and fixes

github.com/gookit/goutil

Go · All systems

Affected

  • introduced 0, fixed 0.6.0 (semver)

Fixed versions

0.6.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences