blob: 08211424325107a78ce08fc2da4d63ec3d3d59c8 [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2020-36566"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Path traversal in github.com/whyrusleeping/tar-utils",
"descriptions": [
{
"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."
}
],
"affected": [
{
"vendor": "github.com/whyrusleeping/tar-utils",
"product": "github.com/whyrusleeping/tar-utils",
"collectionURL": "https://pkg.go.dev",
"packageName": "github.com/whyrusleeping/tar-utils",
"versions": [
{
"version": "0",
"lessThan": "0.0.0-20201201191210-20a61371de5b",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "Extractor.outputPath"
},
{
"name": "Extractor.Extract"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
}
]
}
],
"references": [
{
"url": "https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227"
},
{
"url": "https://snyk.io/research/zip-slip-vulnerability"
},
{
"url": "https://pkg.go.dev/vuln/GO-2021-0106"
}
]
}
}
}