GSD-2018-25046
Vulnerability from gsd - Updated: 2023-12-13 01:22Details
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-2018-25046",
"id": "GSD-2018-25046"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2018-25046"
],
"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-2018-25046",
"modified": "2023-12-13T01:22:36.688972Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2018-25046",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "code.cloudfoundry.org/archiver/extractor",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "0.0.0-20180523222229-09b5706aa936"
}
]
}
}
]
},
"vendor_name": "code.cloudfoundry.org/archiver"
}
]
}
},
"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/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840",
"refsource": "MISC",
"url": "https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"
},
{
"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-0025",
"refsource": "MISC",
"url": "https://pkg.go.dev/vuln/GO-2020-0025"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c0.0.0-20180523222229-09b5706aa936",
"affected_versions": "All versions before 0.0.0-20180523222229-09b5706aa936",
"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": [
"0.0.0-20180523222229-09b5706aa936"
],
"identifier": "CVE-2018-25046",
"identifiers": [
"GHSA-32qh-8vg6-9g43",
"CVE-2018-25046"
],
"not_impacted": "All versions starting from 0.0.0-20180523222229-09b5706aa936",
"package_slug": "go/code.cloudfoundry.org/archiver",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 0.0.0-20180523222229-09b5706aa936 or above.",
"title": "Cloud Foundry Archiver vulnerable to path traversal",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2018-25046",
"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840",
"https://pkg.go.dev/vuln/GO-2020-0025",
"https://snyk.io/research/zip-slip-vulnerability",
"https://github.com/advisories/GHSA-32qh-8vg6-9g43"
],
"uuid": "bf9590d4-eb83-44ea-ba8b-3ca6eea040ae"
},
{
"affected_range": "\u003c0.0.0-20180523222229-09b5706aa936",
"affected_versions": "All versions before 0.0.0-20180523222229-09b5706aa936",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-937"
],
"date": "2023-02-07",
"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": [
"0.0.0-20180523222229-09b5706aa936"
],
"identifier": "CVE-2018-25046",
"identifiers": [
"GHSA-32qh-8vg6-9g43",
"CVE-2018-25046"
],
"not_impacted": "All versions starting from 0.0.0-20180523222229-09b5706aa936",
"package_slug": "go/code.cloudfoundry.org/archiver/extractor",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 0.0.0-20180523222229-09b5706aa936 or above.",
"title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2018-25046",
"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840",
"https://pkg.go.dev/vuln/GO-2020-0025",
"https://snyk.io/research/zip-slip-vulnerability",
"https://github.com/advisories/GHSA-32qh-8vg6-9g43"
],
"uuid": "37e13ae1-7c08-4a58-893d-2a015b0eddb8"
},
{
"affected_range": "\u003cv0.0.0-20180523222229-09b5706aa936",
"affected_versions": "All versions before 0.0.0-20180523222229-09b5706aa936",
"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": [
"v0.0.0-20180523222229-09b5706aa936"
],
"identifier": "CVE-2018-25046",
"identifiers": [
"GHSA-32qh-8vg6-9g43",
"CVE-2018-25046"
],
"not_impacted": "All versions starting from 0.0.0-20180523222229-09b5706aa936",
"package_slug": "go/github.com/cloudfoundry/archiver",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 0.0.0-20180523222229-09b5706aa936 or above.",
"title": "Cloud Foundry Archiver vulnerable to path traversal",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2018-25046",
"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840",
"https://pkg.go.dev/vuln/GO-2020-0025",
"https://snyk.io/research/zip-slip-vulnerability",
"https://github.com/advisories/GHSA-32qh-8vg6-9g43"
],
"uuid": "b6cb8b74-4514-4a5e-b9ff-f81ae44c38e0",
"versions": []
},
{
"affected_range": "\u003cv0.0.0-20180523222229-09b5706aa936",
"affected_versions": "All versions before 0.0.0-20180523222229-09b5706aa936",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-937"
],
"date": "2023-02-07",
"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": [
"v0.0.0-20180523222229-09b5706aa936"
],
"identifier": "CVE-2018-25046",
"identifiers": [
"GHSA-32qh-8vg6-9g43",
"CVE-2018-25046"
],
"not_impacted": "All versions starting from 0.0.0-20180523222229-09b5706aa936",
"package_slug": "go/github.com/cloudfoundry/archiver/extractor",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 0.0.0-20180523222229-09b5706aa936 or above.",
"title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2018-25046",
"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840",
"https://pkg.go.dev/vuln/GO-2020-0025",
"https://snyk.io/research/zip-slip-vulnerability",
"https://github.com/advisories/GHSA-32qh-8vg6-9g43"
],
"uuid": "fd2c2d6a-3246-4236-9f5a-2506f0757649",
"versions": []
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:cloudfoundry:archiver:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2018-05-23",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2018-25046"
},
"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/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"
},
{
"name": "https://pkg.go.dev/vuln/GO-2020-0025",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://pkg.go.dev/vuln/GO-2020-0025"
},
{
"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 observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…