← 漏洞与更新

高危漏洞公告JavaScript / Node.js

node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio

受影响

软件包受影响版本修复版本
npm:tar< 8.0.08.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…

在 GitHub Advisory Database 阅读

2026/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。