Skip to content
OpenAdvisories
High · 7.3 CVE-2021-32840 EUVD-2022-1085GHSA-m22m-h4rf-pwq3

Path Traversal in SharpZipLib

Published Jan 26, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

Description

SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Prior to version 1.3.3, a TAR file entry `../evil.txt` may be extracted in the parent directory of `destFolder`. This leads to arbitrary file write that may lead to code execution. The vulnerability was patched in version 1.3.3.

Affected products

VendorProductAffectedFixed
icsharpcode sharpziplib 1.3.3 – < 1.3.3, 0.86.0 – < 0.86.0* 1.3.3

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
Ubuntu 26.10 mono No fix yet —
Ubuntu 26.04 LTS mono No fix yet —
Ubuntu 25.10 mono No fix yet —
Ubuntu 24.04 LTS mono No fix yet —
Ubuntu 22.04 LTS mono No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet SharpZipLib < 1.3.3 1.3.3 GHSA-m22m-h4rf-pwq3

Advisories 1

References