Description
adm-zip 0.6.0 contains a decompression bomb protection bypass that allows attackers to evade the maxOutputLength guard by targeting the asynchronous getDataAsync() path in methods/inflater.js. Attackers can craft ZIP entries with falsified small declared sizes and high-ratio DEFLATE payloads to exhaust memory in applications reading entries asynchronously.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cthackers | adm-zip | 0.6.0 – < 0.6.1 | 0.6.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | adm-zip | < 0.6.1 | 0.6.1 | GHSA-c6fg-446q-cg94 |
References
- GitHub Security Advisory (GHSA-c6fg-446q-cg94) vendor-advisory
- VulnCheck Advisory: adm-zip 0.6.0 Decompression Bomb Guard Bypass via getDataAsync() third-party-advisory