Critical
Security advisory
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-36561
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:28 UTC · Revision 1
Source evidence
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
osv:CVE-2020-36561
Complete source record
{
"id": "c45b937dbd56b16ee687cf3398d716cc187c97cdba89f1f6b8c66c822846b9fb",
"url": "https://osv.dev/vulnerability/CVE-2020-36561",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-36561",
"summary": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.",
"evidence": "osv:CVE-2020-36561",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-36561",
"aliases": [
"CVE-2020-36561",
"GHSA-f5c5-hmw9-v8hx",
"GO-2020-0035"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/yi-ge/unzip",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2adbaa4891b9690853ef10216189189f5ad7dc73"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "2adbaa4891b9690853ef10216189189f5ad7dc73"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36561.json"
}
}
],
"modified": "2026-10-20T10:54:21.482119597Z",
"provider": "osv",
"references": [
"https://pkg.go.dev/vuln/GO-2020-0035",
"https://snyk.io/research/zip-slip-vulnerability",
"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73",
"https://github.com/yi-ge/unzip/pull/1"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:unzip_project:unzip:*:*:*:*:*:go:*:*"
],
"vendor_product": "unzip_project:unzip",
"extracted_events": [
{
"range": [
{
"fixed": "1.0.3-0.20200308084313-2adbaa4891b9"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-36561",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385150,
"published_at": "2022-12-27T22:15:11.623+00:00"
}