Approved changes feed: RSS · Atom

cpe:2.3:a:sharpcompress_project:sharpcompress:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorSharpcompress Project (778a0d30-923b-5789-a651-915c91c2e311)
ProductSharpcompress (4a4f4e2d-7a9f-51b3-8d64-0276653cb8c8)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/adamhathcock/sharpcompress purl2cpe 2026-06-01 10:16:03.590499
pkg:nuget/SharpCompress purl2cpe 2026-06-01 10:16:03.590502

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2021-39208 vulnerable 2026-06-08 05:33:49.200984 WriteEntryToDirectory used for an archive extraction is vulnerable to partial path traversal.
MEDIUM (4.3)
SharpCompress is a fully managed C# library to deal with many compression types and formats. Versions prior to 0.29.0 are vulnerable to partial path traversal. SharpCompress recreates a hierarchy of directories under destinationDirectory if ExtractFullPath is set to true in options. In order to prevent extraction outside the destination directory the destinationFileName path is verified to begin with fullDestinationDirectoryPath. However, prior to version 0.29.0, it is not enforced that fullDestinationDirectoryPath ends with slash. If the destinationDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the 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. This issue is fixed in SharpCompress version 0.29.0.
Published: 2021-09-16T14:35:11.000Z
Updated: 2024-08-04T01:58:18.179Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-1002206 vulnerable 2026-06-08 05:10:26.241394 Details available
SharpCompress before 0.21.0 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'.
Published: 2018-07-25T17:00:00.000Z
Updated: 2024-09-17T03:29:09.493Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.