High

node-tar before 8.0.2 lets crafted archives exhaust memory or CPU

An attacker who supplies a crafted tar archive can exhaust memory or CPU and crash or hang a Node.js process that uses node-tar. The flaw is in unbounded path bookkeeping for deep linkpaths and long names, not in the caller's code.

Product
Systems
macOSWindowsLinux
Fixed in
8.0.2
CVSS
7.1
Weakness
CWE-401CWE-407CWE-770
Source
Get the fix in Telegram

Am I affected?

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

Affected software and versions

PackageEcosystemAffectedFixed in
node-tarother<8.0.28.0.2

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

Who should check

Users on macOS, Windows or Linux with the node-tar library for Node.js installed in any version below 8.0.2.

Expected outcome after remediation

The agent reports which node-tar versions it found on the machine and whether each was updated to 8.0.2 or later, or that no copy was found.

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

Related node-tar incidents

All node-tar incidents