decompress: Archive extraction can create files and links outside the target directory
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| XhmikosR | decompress | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Xhmikosr | Decompress |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mp2f-45pm-3cg9 | Decompress: Archive extraction can create files and links outside of the target directory |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.749% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Xhmikosr
Xhmikosr decompress |
|
| Vendors & Products |
Xhmikosr
Xhmikosr decompress |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The decompress package for Node.js extracts archives. Prior to 10.2.1 and 11.1.3, archive extraction can create files and links outside the target directory. When extracting an archive to a directory, a crafted archive can read or write files outside that directory because hardlink and symlink entries are created without checking where targets point, path containment used a string prefix comparison, and file modes failed to remove setuid, setgid, or sticky bits. This issue is fixed in @xhmikosr/decompress versions 10.2.1 and 11.1.3. | |
| Title | decompress: Archive extraction can create files and links outside the target directory | |
| Weaknesses | CWE-22 CWE-59 CWE-732 |
|
| References |
|
|
| Metrics |
cvssV3_1
|