High

node-tar UnpackSync can hang and never finish extraction

During synchronous stream extraction, a failed entry makes the pending counter go negative, so the stream never emits end, finish, or close. Extraction stalls and your program waits forever on a call that never completes.

Product
Systems
macOSWindowsLinux
Fixed in
8.0.0
CVSS
7.1
Weakness
CWE-667CWE-696CWE-911
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 8.0.0. Check the version you have and update to 8.0.0 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
node-tarother>=7.5.22, <8.0.08.0.0

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running node-tar version 7.5.22 up to (but not including) 8.0.0 on macOS, Windows, or Linux, and calling the synchronous stream API. The async API and file-based sync API are not affected.

Expected outcome after remediation

Report which node-tar version is installed, whether it is in the affected range, and confirm it was updated to 8.0.0 or newer.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5490 and your operating system.

Related node-tar incidents

All node-tar incidents