node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| npm:tar | < 8.0.0 | 8.0.0 |
The maxDecompressionRatio guard tar added for GHSA-23hp-3jrh-7fpw is evaluated after node zlib has already materialized the inflated output, so it observes an allocation rather than bounding one. A remote, unauthenticated party who can hand tar.t()/tar.x() an archive can deny service with 65,608 bytes, at stock settings. Details The check runs from the decompressor's 'data' event, which fires once per call to node zlib's synchronous _processChunk — by then that input chunk's entire inflated out…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/05 09:16,GitHub Advisory Database 发布了“node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:JavaScript / Node.js。CVE:CVE-2026-140229。