Advisory

GHSA-5g39-ppwg-6xx8

Also known as: CVE-2023-28105, GO-2023-1640

Summary

Go-huge-util vulnerable to path traversal when unzipping files

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-16 18:32 UTC
Modified
2023-11-08 04:12 UTC

Affected packages and fixes

github.com/dablelv/go-huge-util

Go · All systems

Affected

  • introduced 0, fixed 0.0.34 (semver)

Fixed versions

0.0.34

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