Skip to main content
← All vulnerabilities
CVE-2021-32840GHSA-M22M-H4RF-PWQ3

Path Traversal in SharpZipLib

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • icsharpcode sharpziplib

    From 1.3.3 · fixed in 1.3.3; From 0.86.0

  • SharpZipLibNuGet

    fixed in 1.3.3

References 3

securitylab.github.com

GitHub · icsharpcode/SharpZipLib