blob: a2edfdafdc90478dd872eb9e8534c5ce0027f6a9 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2020-0025",
"modified": "0001-01-01T00:00:00Z",
"published": "2021-04-14T20:04:52Z",
"aliases": [
"CVE-2018-25046",
"GHSA-32qh-8vg6-9g43"
],
"summary": "Path traversal in code.cloudfoundry.org/archiver",
"details": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.",
"affected": [
{
"package": {
"name": "code.cloudfoundry.org/archiver",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20180523222229-09b5706aa936"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "code.cloudfoundry.org/archiver/extractor",
"symbols": [
"detectableExtractor.Extract",
"extractTarArchiveFile",
"extractZipArchiveFile",
"tarExtractor.Extract",
"tgzExtractor.Extract",
"zipExtractor.Extract"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"
},
{
"type": "WEB",
"url": "https://snyk.io/research/zip-slip-vulnerability"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0025"
}
}