zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| zip-rs | zip2 | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Zip-rs | Zip2 |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q7v9-x93c-xqv3 | zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.461% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Zip-rs
Zip-rs zip2 |
|
| Vendors & Products |
Zip-rs
Zip-rs zip2 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | zip is a zip library for Rust that supports reading and writing simple ZIP files. From 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls Vec::with_capacity for a symbolic link target using the attacker-controlled ZIP64 uncompressed_size before reading entry data. A small archive can request an impossible capacity, causing the infallible allocation path to abort the process before the entry is validated. The failure cannot be contained with catch_unwind or a worker thread, allowing repeated denial of service in archive-processing applications. This issue is fixed in version 9.0.0. | |
| Title | zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction | |
| Weaknesses | CWE-400 CWE-789 |
|
| References |
| |
| Metrics |
cvssV3_1
|