High

node-tar denial of service via crafted archive (fixed in 8.0.0)

Extracting a small crafted tar archive bypasses the depth guard and exhausts the Node.js heap, crashing the process. An attacker who can feed you an archive can terminate any service or tool that extracts it.

Product
Systems
macOSWindowsLinux
Fixed in
8.0.0
CVSS
7.1
Weakness
CWE-400
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<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.js on macOS, Windows or Linux with node-tar installed at a version below 8.0.0.

Expected outcome after remediation

The agent reports the installed node-tar versions it found, updates each one below 8.0.0 to 8.0.0, and confirms the updated versions in use after a restart.

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 5464 and your operating system.

Related node-tar incidents

All node-tar incidents