adm-zip is vulnerable to Denial of Service (DoS)
75
CVE Score
High
Denial of Service (DoS)
The adm-zip extraction path allocates an output buffer using the uncompressed size declared in the ZIP entry header without validating it against the actual compressed data available. A crafted archive carrying a small compressed payload with an inflated declared size causes Buffer.alloc to materialize an arbitrarily large buffer during extraction, exhausting process memory and crashing the Node.js process. The fix bounds the output allocation to the actual compressed bytes available rather than the attacker-controlled declared size.
Upgrade the adm-zip library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application extracts untrusted ZIP archives.
0.5.10 - 0.5.18
Fixed in 0.6.0adm-zip is vulnerable to Denial of Service (DoS) in versions 0.5.10 - 0.5.18.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.