High

node-tar async extraction crash from NUL byte in pathnames

A crafted tar archive can slip a NUL byte into a pathname during asynchronous extraction, causing an uncaught exception that terminates the process. This lets an attacker crash any service or tool that extracts untrusted archives with node-tar.

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>=7.5.17, <8.0.08.0.0

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

Who should check

Projects using the node-tar library for Node.js on any OS, versions 7.5.17 up to but not including 8.0.0.

Expected outcome after remediation

The agent reports whether node-tar is installed, the installed version, whether it falls in the vulnerable range, and that it has been updated to 8.0.0 or was already safe.

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

Related node-tar incidents

All node-tar incidents