CVE-2020-12265: decompress - Path Traversal
- Cve: CVE-2020-12265
- Name: decompress - Path Traversal
- Description: 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.
- Impact: Attackers can write arbitrary files on the server, potentially leading to remote code execution or system compromise.
- Remediation: Update to decompress version 4.2.1 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02116
- Epss percentile: 0.82314
- Assignee: [email protected]
- Published at: 2020-04-26T17:15:11Z
- Age in days: 2403
- Modified at: 2026-06-17T02:51:31Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-12265
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/kevva/decompress/issues/71 | nvd | 2020-04-26 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/kevva/decompress/pull/73 | Patch, Third Party Advisory |
| https://github.com/kevva/decompress/issues/71 | Exploit, Third Party Advisory |
| https://www.npmjs.com/advisories/1217 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| decompress_project:decompress | < 4.2.1 | no | nvd | /v1/products/decompress_project/decompress |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| kevva/decompress | commit, issues, package, pull | yes | /v1/repositories/kevva/decompress |
Index
- Repositories: 28
- Repositories high signal: 5
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2020-04-26
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts