gsd-2020-36561
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2020-36561",
"id": "GSD-2020-36561"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2020-36561"
],
"details": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.",
"id": "GSD-2020-36561",
"modified": "2023-12-13T01:21:55.536283Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2020-36561",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "github.com/yi-ge/unzip",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "1.0.3-0.20200308084313-2adbaa4891b9"
}
]
}
}
]
},
"vendor_name": "github.com/yi-ge/unzip"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE 29: Path Traversal: \"\\..\\filename\""
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/yi-ge/unzip/pull/1",
"refsource": "MISC",
"url": "https://github.com/yi-ge/unzip/pull/1"
},
{
"name": "https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73",
"refsource": "MISC",
"url": "https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73"
},
{
"name": "https://snyk.io/research/zip-slip-vulnerability",
"refsource": "MISC",
"url": "https://snyk.io/research/zip-slip-vulnerability"
},
{
"name": "https://pkg.go.dev/vuln/GO-2020-0035",
"refsource": "MISC",
"url": "https://pkg.go.dev/vuln/GO-2020-0035"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003cv1.0.3-0.20200308084313-2adbaa4891b9",
"affected_versions": "All versions before 1.0.3-0.20200308084313-2adbaa4891b9",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-12-30",
"description": "Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.",
"fixed_versions": [
"v1.0.3-0.20200308084313-2adbaa4891b9"
],
"identifier": "CVE-2020-36561",
"identifiers": [
"GHSA-f5c5-hmw9-v8hx",
"CVE-2020-36561"
],
"not_impacted": "All versions starting from 1.0.3-0.20200308084313-2adbaa4891b9",
"package_slug": "go/github.com/yi-ge/unzip",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 1.0.3-0.20200308084313-2adbaa4891b9 or above.",
"title": "Unzip vulnerable to path traversal",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2020-36561",
"https://github.com/yi-ge/unzip/pull/1",
"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73",
"https://pkg.go.dev/vuln/GO-2020-0035",
"https://snyk.io/research/zip-slip-vulnerability",
"https://github.com/advisories/GHSA-f5c5-hmw9-v8hx"
],
"uuid": "27f8fc23-821e-4756-8bce-34814fe4a0ea",
"versions": []
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:unzip_project:unzip:*:*:*:*:*:go:*:*",
"cpe_name": [],
"versionEndExcluding": "1.0.3-0.20200308084313-2adbaa4891b9",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2020-36561"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73"
},
{
"name": "https://pkg.go.dev/vuln/GO-2020-0035",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://pkg.go.dev/vuln/GO-2020-0035"
},
{
"name": "https://github.com/yi-ge/unzip/pull/1",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://github.com/yi-ge/unzip/pull/1"
},
{
"name": "https://snyk.io/research/zip-slip-vulnerability",
"refsource": "MISC",
"tags": [
"Technical Description",
"Third Party Advisory"
],
"url": "https://snyk.io/research/zip-slip-vulnerability"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.2
}
},
"lastModifiedDate": "2023-06-08T21:15Z",
"publishedDate": "2022-12-27T22:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…