VulnerabilityModified
CVE-2021-32840
This leads to arbitrary file write that may lead to code execution.
CRITICAL 9.8EPSS 1.97%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.97%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.97% probability · 79th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- sharpziplib project/sharpziplib
- Source
- security-advisories@github.com
References
- https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221ccPatch, Third Party Advisory
- https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/Exploit, Third Party Advisory
- https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221ccPatch, Third Party Advisory
- https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.