tar is vulnerable to Denial of Service (DoS)
53
CVE Score
Medium
Denial of Service (DoS)
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.
Upgrade the tar library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application extracts untrusted tar archives.
0.0.0 - 7.5.17
Fixed in 7.5.18tar is vulnerable to Denial of Service (DoS) in versions 0.0.0 - 7.5.17.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.