SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| adamhathcock | sharpcompress | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Adamhathcock | Sharpcompress |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6c8g-7p36-r338 | SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.313% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:adamhathcock:sharpcompress:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Sharpcompress Project
Sharpcompress Project sharpcompress |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sharpcompress Project
Sharpcompress Project sharpcompress |
|
| CPEs | cpe:2.3:a:sharpcompress_project:sharpcompress:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Sharpcompress Project
Sharpcompress Project sharpcompress |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Adamhathcock
Adamhathcock sharpcompress |
|
| Vendors & Products |
Adamhathcock
Adamhathcock sharpcompress |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | SharpCompress is a fully managed C# library to deal with many compression types and formats. In 0.47.4 and earlier, a path traversal vulnerability in IArchive.WriteToDirectory() allows a malicious archive to create directories outside the intended extraction root. For TAR archives, this can be escalated to arbitrary file writes by chaining with a symlink entry, giving a full write primitive on the target filesystem subject to the permissions of the running process. | |
| Title | SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant) | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|