Sharpcompress
Approved changes feed: RSS · Atom
cpe:2.3:a:adamhathcock:sharpcompress:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Adamhathcock (8b0399d7-0c93-5d8c-a585-da96637ce5eb) |
|---|---|
| Product | Sharpcompress (9baa97dd-a03e-5f4b-9bbd-c4ac0e4dcfbd) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from gcve-enriched-dumps CVE data |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-44788 |
vulnerable | 2026-06-03 15:25:03.413393 |
SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)
MEDIUM (5.9)
SharpCompress is a fully managed C# library to deal with many compression types and formats. In 0.47.4 and earlier, a path traversal vulnerability in IArchive.WriteToDirectory() allows a malicious archive to create directories outside the intended extraction root. For TAR archives, this can be escalated to arbitrary file writes by chaining with a symlink entry, giving a full write primitive on the target filesystem subject to the permissions of the running process.
Published: 2026-05-26T21:32:00.845Z
Updated: 2026-05-27T12:46:16.036Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2021-39208 |
vulnerable | 2026-06-03 14:45:08.608894 |
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 |
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.