9.8

CVE-2021-32840: Path Traversal in SharpZipLib

Modified
AliasesUBUNTU-CVE-2021-32840GHSA-m22m-h4rf-pwq3
Published 26-01-2022Last modified 22-04-2025

Vulnerability summary

CVE-2021-32840 is a critical (CVSS 9.8) vulnerability in icsharpcode sharpziplib. EPSS estimates a 1.97% chance of exploitation in the next 30 days, higher than 81.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.97%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 26-01-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.97%

Chance of exploitation in the next 30 days

Percentile

81%

Versus all other CVEs

30-day change

Increase +0.06 pp

From 1.91% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Ghsl 2021 125 Sharpziplib

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Icsharpcode1 product
NuGet1 product
  • SharpZipLib< 1.3.3
Sharpziplib_project1 product
Ubuntu1 product
  • monoAll versions (No fix recorded)

4 vendors · 4 products

References

8 links