Advisory

GHSA-m22m-h4rf-pwq3

Also known as: CVE-2021-32840

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-01 16:22 UTC
Modified
2024-02-19 05:29 UTC

Affected packages and fixes

SharpZipLib

NuGet · All systems

Affected

  • introduced 0, fixed 1.3.3 (ecosystem)

Fixed versions

1.3.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences