11 matches found
GHSA-9HJ8-73FH-9963 zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
Summary A malicious 149-byte ZIP archive can cause a denial of service in applications that enable legacy-zip and use ZipArchive::extract. An attacker-controlled ZIP64 uncompressed size triggers a capacity overflow panic in the Shrink decoder in optimized builds, potentially terminating the...
zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
Summary The symbolic-link branch of ZipArchive::extractinternal allocates a buffer using an attacker-declared size before reading any entry data. A 112-byte archive terminates the extracting process with SIGABRT through this infallible allocation. Details rust cfganyunix, windows if file.issymlin...
zip-rs zip resource management error vulnerability
In zip-rs versions from 1.3.0 up to but not including 9.0.0, there is a resource management error vulnerability. This vulnerability arises because ZipArchive::extract, within src/read/mod.rs, uses a ZIP64 uncompressedsize parameter controlled by attackers when processing symbolic link targets; th...
zip-rs zip path traversal vulnerability
A security vulnerability exists in zip-rs versions from 7.2.0 up to and including 9.0.0. This vulnerability stems from the use of lexical prefix comparison when validating symbolic link targets in ZipArchive::extract and ZipArchive::extractunwrappedrootdir; no intermediate links are parsed...
zip-rs zip input validation error vulnerability
A security vulnerability exists in zip-rs versions from zip 0.6.0 up to but not including version 9.0.0. This vulnerability arises because the AES entry reader in src/aes.rs validates HMAC only when the data counter controlled by the attacker is set to zero. However, when the underlying bounded...
zip-rs zip input validation error vulnerability
A security vulnerability exists in zip-rs versions prior to 9.0.5. This vulnerability stems from ZipArchive in src/read/stream.rs treating the filename of central directory file headers as authoritative; however, ZipStreamReader extracts these filenames locally without coordinating with repeated...
zip-rs zip resource management error vulnerability
In zip-rs versions from zip 5.1.0 up to but not including version 9.0.0, there is a resource management error vulnerability. This vulnerability arises when using the legacy-zip functionality; prior to validating the compression stream, the output buffer size is reserved based on the uncompressed...
RUSTSEC-2026-0547 Legacy Shrink, Reduce and Implode decoders preallocate the declared uncompressed size
With the legacy-zip feature, the decoders for the Shrink, Reduce and Implode compression methods reserved output capacity for the entry's declared uncompressed size before decoding anything. That size comes from the archive, and a ZIP64 entry can declare any 64-bit value, so reading or extracting...
RUSTSEC-2026-0369 ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
ZipStreamReader::extract applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp...
ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
ZipStreamReader::extract applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp...
Zip security vulnerabilities
zip is a zip implementation in Rust open-sourced by zip-rs. A security vulnerability exists in zip versions prior to 1.3.0 through 2.3.0, which stems from an unvalidated symbolic link that could lead to arbitrary file overwriting...