Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-32841

4.0 · MEDIUM
Published Jan 26, 2022 sharpziplib_project CWE-22 EPSS 1.08% (62th pctl)

Overview

CVE-2021-32841 is a medium-severity vulnerability affecting sharpziplib_project sharpziplib. It was published on January 26, 2022 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.3.0 and prior to version 1.3.3, a check was added if the destination file is under destination directory. However, it is not enforced that `destDir` ends with slash. If the `destDir` is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins with the destination directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints, the arbitrary file creation impact is limited and depends on the use case. Version 1.3.3 contains a patch for this vulnerability.

Remediation

Check the references section for vendor advisories and patches from sharpziplib_project. Update sharpziplib to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
sharpziplib_project sharpziplib >= 1.3.0, < 1.3.3 Affected

Frequently Asked Questions

What is CVE-2021-32841?

CVE-2021-32841 is a medium-severity vulnerability affecting sharpziplib_project sharpziplib. It was published on January 26, 2022 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

How severe is CVE-2021-32841?

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-32841?

Check the references section for vendor advisories and patches from sharpziplib_project. Update sharpziplib to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-32841?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-32841 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.