ADVISORIES

GitHub Advisory Database

GHSA-m22m-h4rf-pwq3

Path Traversal in SharpZipLib

Details

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 packages

EcosystemPackageAffected versions
NuGetSharpZipLib
All versions before 1.3.3 (fixed in 1.3.3)

References