decompress: Decompress: Arbitrary file write leading to remote code execution via crafted ZIP archive (Zip Slip)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | decompress | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Kevva | Decompress |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-h39j-r5qq-r9mm | decompress: Arbitrary File Write via Archive Extraction (Zip Slip) |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.521% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Symlink‑Based Zip Slip Leading to Arbitrary File Write in decompress | decompress: Decompress: Arbitrary file write leading to remote code execution via crafted ZIP archive (Zip Slip) |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kevva
Kevva decompress |
|
| Vendors & Products |
Kevva
Kevva decompress |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Symlink‑Based Zip Slip Leading to Arbitrary File Write in decompress |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive. **Note:** This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358). | |
| Weaknesses | CWE-29 | |
| References |
| |
| Metrics |
cvssV3_1
|