Goutil vulnerable to path traversal when unzipping files
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-27475
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:30 UTC · Revision 1
Source evidence
Goutil vulnerable to path traversal when unzipping files
core-osv · Original sourcePublished 7 Mar 2023, 17:40 UTC
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.
osv:CVE-2023-27475
Complete source record
{
"id": "3703da61fe8f26a91d34a0a94fae9e7b0d6fb73461f6b70aadb1b14a572283f9",
"url": "https://osv.dev/vulnerability/CVE-2023-27475",
"method": "structured",
"payload": {
"kind": "advisory",
"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.",
"evidence": "osv:CVE-2023-27475",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-27475",
"aliases": [
"CVE-2023-27475",
"GHSA-fx2v-qfhr-4chv",
"GO-2023-1611"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gookit/goutil",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c6fc88109161c0baab2746e33efd6ac726316731"
},
{
"fixed": "d7b94fede71f018f129f7d21feb58c895d28dadc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:goutil_project:goutil:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.6.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "d7b94fede71f018f129f7d21feb58c895d28dadc"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.5.15",
"v0.5.14",
"v0.5.13",
"v0.5.12",
"v0.5.11",
"v0.5.10",
"v0.5.9",
"v0.5.8",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.6",
"v0.4.5",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.15",
"v0.3.14",
"v0.3.13",
"v0.3.12",
"v0.3.11",
"v0.3.10",
"v0.3.9",
"v0.3.8",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.16",
"v0.2.15",
"v0.2.14",
"v0.2.13",
"v0.2.12",
"v0.2.11",
"v0.2.10",
"v0.2.9",
"v0.2.8",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.9",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-27475.json"
}
}
],
"modified": "2026-10-28T02:30:24.346169453Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27475.json",
"https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv",
"https://nvd.nist.gov/vuln/detail/CVE-2023-27475",
"https://security.netapp.com/advisory/ntap-20230427-0003/",
"https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27475.json"
}
},
"related_cves": [
{
"value": "CVE-2023-27475",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490890,
"published_at": "2023-03-07T17:40:06.368+00:00"
}