原始 OSV JSON{
"id": "GHSA-qgfr-5hqp-vrw9",
"aliases": [
"CVE-2020-12265"
],
"details": "Versions of `decompress` prior to 4.2.1 are vulnerable to Arbitrary File Write. The package fails to prevent extraction of files with relative paths, allowing attackers to write to any folder in the system by including filenames containing`../`.\n\n\n## Recommendation\n\nUpgrade to version 4.2.1 or later.",
"summary": "Path Traversal in decompress",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.2.1"
}
]
}
],
"package": {
"name": "decompress",
"ecosystem": "npm"
}
}
],
"modified": "2023-04-18T14:49:55Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2020-09-03T21:16:27Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12265",
"type": "ADVISORY"
},
{
"url": "https://github.com/kevva/decompress/issues/71",
"type": "WEB"
},
{
"url": "https://github.com/kevva/decompress/pull/73",
"type": "WEB"
},
{
"url": "https://github.com/kevva/decompress/commit/967146e70f48be32ed1a69daa3941d681944d513",
"type": "WEB"
},
{
"url": "https://github.com/kevva/decompress",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-22",
"CWE-59"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2020-04-26T17:15:00Z",
"github_reviewed_at": "2020-08-31T18:51:16Z"
}
}