{"id":"CVE-2023-27475","published":"2023-03-07T17:40:06Z","modified":"2025-02-25T15:00:49Z","title":"Goutil vulnerable to path traversal when unzipping files","vendor":"gookit","product":"goutil","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00849,"percentile":0.59017,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20230427-0003/","tags":[]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.8},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"gookit","affectedVersions":[{"vendor":"gookit","product":"goutil","versions":["< 0.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-25T14:29:51.168186Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gookit/goutil","vulnerableRanges":["<0.6.0","<0.6.7"],"patched":["0.6.0","0.6.7"],"from":["GHSA-fx2v-qfhr-4chv","GO-2023-1611"],"provenance":"source"}],"summary":{"text":"The fsutil.Unzip function in the goutil Go library (gookit/goutil) is vulnerable to path traversal, commonly known as ZipSlip, in versions before 0.6.0. An attacker can craft a malicious zip archive that, when extracted by a user via fsutil.Unzip, writes files outside the intended destination directory; exploitation requires only that a user be induced to unzip the attacker-supplied file, with no authentication or prior network access needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:55Z"},"euvd":{"id":"EUVD-2023-1005","exploited":false,"provenance":"source"}}