Skip to content
OpenAdvisories
Medium · 5.5 CVE-2018-1002208 EUVD-2022-3612GHSA-cqj4-m2pc-v9m5SNYK-DOTNET-SHARPZIPLIB-60247

Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib

Published Jul 25, 2018 · Updated Aug 5, 2024 · Assigned by snyk

Description

SharpZipLib before 1.0 RC1 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'.

Affected products

VendorProductAffectedFixed
SharpZipLib SharpZipLib < 1.0 RC1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mono 5.18.0.240+dfsg-1 —
Debian 13 mono 5.18.0.240+dfsg-1 —
Debian 12 mono 5.18.0.240+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS mono +1 No fix yet —
Ubuntu 16.04 LTS mono +1 No fix yet —
Ubuntu 14.04 LTS mono No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet SharpZipLib < 1.0.0-rc1 1.0.0-rc1 GHSA-cqj4-m2pc-v9m5

Advisories 3

References