← 漏洞与更新

高危漏洞公告JavaScript / Node.js

node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance)

受影响

软件包受影响版本修复版本
npm:tar>= 7.5.22, < 8.0.08.0.0

When node-tar's synchronous stream extraction (tar.x({ sync: true }) without the file option, or a directly-constructed UnpackSync stream) processes any archive entry that fails, the stream never emits end, finish, or close. A single failing entry, for example a hardlink whose target does not exist (one 512-byte entry), emits a TAR_ENTRY_ERROR warning and then hangs the stream. Consumers that await stream completion hang indefinitely on hostile or merely damaged input, with no error to catch be…

在 GitHub Advisory Database 阅读

2026/12/02 04:27,GitHub Advisory Database 发布了“node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance)”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:JavaScript / Node.js。CVE:CVE-2026-140252。