node-tarに、非同期展開時に処理が停止する脆弱性
Summary
node-tarの7.5.17から8.0.0より前のバージョンでは、非同期展開の際に改行のあとのNULバイトが除去されず、未処理の例外によってプロセスが終了することがあります。一覧表示と同期展開では、この異常終了は起きないと案内されています。修正版の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の7.5.17から8.0.0より前のバージョンでは、非同期展開の際に改行のあとのNULバイトが除去されず、未処理の例外によってプロセスが終了することがあります。一覧表示と同期展開では、この異常終了は起きないと案内されています。修正版の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. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. 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