node-tarに大量のメモリを消費させられる脆弱性
Summary
node-tarの8.0.0より前のバージョンには、圧縮アーカイブの展開処理で、展開比率の上限内でもデータがメモリに溜まり続ける脆弱性があります。信頼できないアーカイブを展開または一覧表示するサービスでは、アーカイブのサイズ以上にメモリを消費させられるおそれがあります。修正版は8.0.0で、利用中の場合は8.0.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
node-tarの8.0.0より前のバージョンには、圧縮アーカイブの展開処理で、展開比率の上限内でもデータがメモリに溜まり続ける脆弱性があります。信頼できないアーカイブを展開または一覧表示するサービスでは、アーカイブのサイズ以上にメモリを消費させられるおそれがあります。修正版は8.0.0で、利用中の場合は8.0.0以降へ更新してください。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-140231 node-tar No fixed version in this record
Original description The description as published by the source.
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, decompression within the ratio limit is buffered in memory without backpressure, and zero-size entries queue without bound. A service that extracts or lists untrusted compressed archives can be made to use much more memory than the archive size suggests, without hitting the ratio limit. The affected security path includes maxDecompressionRatio, ReadEntry, src/parse.ts:576-577, 551-555, 343. This issue is fixed in version 8.0.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com