node-tarに攻撃者の用意したアーカイブでサービス停止に陥る脆弱性
Summary
node-tarの8.0.0より前のバージョンに、非Windows環境で非同期の展開処理を使うと、深くネストしたリンクパスによってメモリが枯渇し、Node.jsプロセスが停止する脆弱性が見つかりました。同期の展開処理とWindows環境は、この経路では影響を受けないとされています。修正版は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より前のバージョンに、非Windows環境で非同期の展開処理を使うと、深くネストしたリンクパスによってメモリが枯渇し、Node.jsプロセスが停止する脆弱性が見つかりました。同期の展開処理とWindows環境は、この経路では影響を受けないとされています。修正版は8.0.0で、利用している場合は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, on non-Windows hosts, asynchronous Unpack extraction of an attacker-controlled archive with a deeply nested linkpath reaches the quadratic PathReservations.getDirs() path. This can exhaust the Node.js heap and terminate the process. Synchronous extraction and the Windows reservation path are not affected by this vector. 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