CVE-2020-12265
highpriority · track · 40EPSS 0.021 · 82 %ileEUUSEPSS · scored 2026-10-28
The decompress package before 4.2.1 for Node.js is vulnerable to Arbitrary File Write via ../ in an archive member, when a symlink is used, because of Directory Traversal.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-qgfr-5hqp-vrw9Path Traversal in decompress2020-09-03ghsa · osvUS
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`../`. ## Recommendation Upgrade to version 4.2.1 or later.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://github.com/kevva/decompress/issues/71cnnvd
- https://github.com/kevva/decompress/pull/73cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-12265cnnvd
- https://www.npmjs.com/advisories/1217cnnvd
- https://www.npmjs.com/package/decompressPatchcnnvd
- https://github.com/kevva/decompress/issues/71enisa_euvd
- https://github.com/kevva/decompress/pull/73enisa_euvd
- https://www.npmjs.com/advisories/1217enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan