CVE-2018-1002208:
Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.80112%
CWE
Published
5/13/2022
Updated
1/27/2023
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
SharpZipLib | nuget | <= 1.0.0-alpha2 | 1.0.0-rc1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper path validation during zip extraction. The FastZip
class is explicitly mentioned in release notes as having received path traversal protection in 1.0 RC1. The GitHub issue #232 demonstrates exploitation via FastZip.ExtractZip()
, and the CVE description specifically references mishandling of Zip archive entries during extraction - a core responsibility of the ExtractZip
method. While the exact pre-patch code isn't shown, the contextual evidence from release notes, vulnerability reports, and usage examples strongly implicates FastZip.ExtractZip
as the vulnerable entry point.