Advisory

GHSA-cqj4-m2pc-v9m5

Also known as: CVE-2018-1002208, SNYK-DOTNET-SHARPZIPLIB-60247

Summary

Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib

Details

SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:35 UTC
Modified
2026-07-08 05:56 UTC

Affected packages and fixes

SharpZipLib

NuGet · All systems

Affected

  • introduced 0, fixed 1.0.0-rc1 (ecosystem)

Fixed versions

1.0.0-rc1

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