PT-2018-9626 · Sharpcompress · Sharpcompress
Odinn1984
·
Published
2018-07-25
·
Updated
2026-06-05
·
CVE-2018-1002206
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions:
SharpCompress versions prior to 0.21.0
Description:
The issue allows attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This is also known as 'Zip-Slip'. The vulnerability is related to a path traversal issue in archive extraction.
Recommendations:
For versions prior to 0.21.0, update to version 0.21.0 or later to resolve the issue. As a temporary workaround, consider restricting the extraction of Zip archives to a safe directory to minimize the risk of writing to arbitrary files. Avoid using the vulnerable Zip archive extraction functionality until the issue is resolved.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sharpcompress