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_app をフォロー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。