{"id":"CVE-2023-27475","aliases":["CVE-2023-27475","GHSA-fx2v-qfhr-4chv","GO-2023-1611"],"related":[],"kind":"vulnerability","state":"published","title":"Goutil vulnerable to path traversal when unzipping files","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nZipSlip issue when use fsutil package to unzip files.\nWhen users use fsutil.Unzip to unzip zip files from a malicious attacker, they may be vulnerable to path traversal. \n\n### Patches\n\nIt has been fixed in v0.6.0, Please upgrade version to v0.6.0 or above.\n\n### Workarounds\nNo, users have to upgrade version.","format":"markdown","source":"ghsa"},{"lang":"en","text":"fsutil.Unzip is vulnerable to path traversal attacks due to improper validation of paths.","format":"markdown","source":"go"}],"published":"2023-03-07T17:40:06.368Z","modified":"2026-06-17T05:45:17.177Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 0.6.0","status":"affected"}],"vendor":"gookit","product":"goutil","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.0"}],"ecosystem":"Go","package":"github.com/gookit/goutil","purl":"pkg:golang/github.com/gookit/goutil","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.7"}],"ecosystem":"Go","package":"github.com/gookit/goutil","purl":"pkg:golang/github.com/gookit/goutil","source":"go"},{"ranges":[{"status":"affected","fixed":"0.6.0"}],"vendor":"goutil_project","product":"goutil","cpe":"cpe:2.3:a:goutil_project:goutil:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230427-0003/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27475","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/gookit/goutil","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1611","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20230427-0003","tags":["web"],"sources":["ghsa"]}],"credits":["@cokeBeer"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-25T14:29:51.168Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-27475","url":"https://www.cve.org/CVERecord?id=CVE-2023-27475","licence":"CVE Terms of Use","modified":"2025-02-25T15:00:49.576Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fx2v-qfhr-4chv","url":"https://github.com/advisories/GHSA-fx2v-qfhr-4chv","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:04.357Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1611","url":"https://pkg.go.dev/vuln/GO-2023-1611","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-27475","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27475","licence":"Public domain","modified":"2026-06-17T05:45:17.177Z"}],"updatedAt":"2026-11-25T22:58:22.305Z","epss":{"score":0.00849,"percentile":0.59234,"date":"2026-12-01T12:00:22.000Z"}}