Security mailing lists by PureSourceCode

CVE-2018-1002206

MEDIUM 5.5CVSS 3.0

Directory Traversal in SharpCompress

SharpCompress before 0.21.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Published
25 Jul 2018
Last modified
10 Sep 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-fxh6-w476-hgr4SNYK-DOTNET-SHARPCOMPRESS-60246
Sources
NVDJSONOSV GHSA-fxh6-w476-hgr4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD adamhathcock sharpcompress
cpe:2.3:a:adamhathcock:sharpcompress:*:*:*:*:*:*:*:*
< 0.21.0 0.21.0
OSV NuGet SharpCompress < 0.21.0 0.21.0

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 Jul 2018)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Sep 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.