node-tarに細工したアーカイブでメモリを使い果たされ、プロセスが停止する脆弱性
Summary
細工されたtarアーカイブを展開すると、node-tarがメモリを過剰に消費し、Node.jsのプロセスが強制終了されるおそれがあります。影響を受けるのは8.0.0より前のバージョンで、8.0.0で修正されています。公表は2026年12月1日と新しく、悪用の情報は公表されていないため、利用している場合は速やかに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.
細工されたtarアーカイブを展開すると、node-tarがメモリを過剰に消費し、Node.jsのプロセスが強制終了されるおそれがあります。影響を受けるのは8.0.0より前のバージョンで、8.0.0で修正されています。公表は2026年12月1日と新しく、悪用の情報は公表されていないため、利用している場合は速やかに8.0.0以降へ更新してください。
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, extraction of a crafted archive with a shallow entry path and deeply nested entry.linkpath bypasses the maxDepth guard and drives quadratic PathReservations.getDirs() allocation. A small crafted archive can exhaust the available Node.js heap and terminate the process. This issue is fixed in version 8.0.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com