High

node-tar NUL byte flaw breaks extraction and name handling

A crafted tar archive with NUL bytes surviving in file names can crash your Node.js process during async extraction, or make node-tar see a different file name than other tools when strip is enabled. This affects ustar, GNU and PAX names in versions before 8.0.0.

Product
Systems
macOSWindowsLinux
Fixed in
8.0.0
CVSS
7.1
Weakness
CWE-158
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 using the node-tar library for Node.js on macOS, Windows or Linux, in any version below 8.0.0.

Expected outcome after remediation

Report which node-tar versions are installed and whether all of them are now 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 5473 and your operating system.

Related node-tar incidents

All node-tar incidents