tar is vulnerable to Denial of Service (DoS)
53
Medium Risk
The PAX header parser in parseKV coerces all-digit path and linkpath values to JavaScript numbers. Downstream path handling then calls .split('/') on that numeric value and throws an uncaught TypeError, which bypasses strict: false and application error/warn handlers. Extracting a crafted archive therefore crashes the Node.js process. The fix keeps string fields such as path and linkpath as strings and casts paths to String in normalizeWindowsPath.
You are affected if you are using a version that falls within the vulnerable range and your application extracts untrusted tar archives.
tar is vulnerable to Denial of Service (DoS) in versions 0.0.0 - 7.5.17.
Upgrade the tar library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant