Intel

AIKIDO-2026-363221

adm-zip is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-8238-w5pm-2374 Published Today

75

High Risk

This Affects:

JSadm-zip
0.4.13 - 0.6.0
Fixed in 0.6.1
Are you affected? Scan for Free

TL;DR

adm-zip decompresses entries asynchronously with a raw zlib inflate stream that has no error listener. When the compressed payload is malformed, zlib emits an error event that is re-thrown as an uncaught exception on a later tick instead of reaching the callback. A single crafted archive processed through readFileAsync, extractAllToAsync, or getDataAsync crashes the host Node.js process. The fix attaches an error handler that routes stream failures through the callback.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you process untrusted archives through the asynchronous API.

Background info

adm-zip is vulnerable to Denial of Service (DoS) in versions 0.4.13 - 0.6.0.

How to fix this

Upgrade the adm-zip library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform