CVE-2020-12265 json
Path Traversal in decompress
published 6y ago modified 4mo ago also GHSA-qgfr-5hqp-vrw9 , EUVD-2020-1238
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm decompress 4.2.1
- decompress_project decompress 4.2.1
- github.com/kevva/decompress@967146e commit
- github.com/kevva/decompress#73 pull request
Is CVE-2020-12265 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.12% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/kevva/decompress/issues/71 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | decompress | <4.2.1 |
4.2.1 |
Classification
References
-
github.com
/kevva/decompress/pull/73
web, patch, third-party-advisory
-
github.com
/kevva/decompress/commit/967146e70f48be32ed1a69daa3941d681944d513
web
-
github.com
/kevva/decompress/issues/71
web, exploit, third-party-advisory
-
npmjs.com
/advisories/1217
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-12265
advisory
-
github.com
/kevva/decompress
package
Sources
- CVE List CVE-2020-12265
- GitHub Advisory GHSA-qgfr-5hqp-vrw9
- NVD CVE-2020-12265
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.