modern-tar is vulnerable to Integer Overflow
51
Medium Risk
Affected versions of this package contain an integer overflow issue in block-size rounding logic, where very large values above 2^31 can wrap during padding calculations and cause the parser to use incorrect block sizes. This can break parsing behavior, corrupt pipeline state, or trigger unexpected failures when processing crafted input. An attacker may be able to exploit this by supplying a malicious file or payload with oversized header metadata, causing the parser to miscalculate boundaries and potentially induce denial of service or unsafe downstream behavior.
You are affected if you are using a version that falls within the vulnerable range.
modern-tar is vulnerable to Integer Overflow in versions 0.7.0 - 0.7.5.
Upgrade the modern-tar library to the patch version.
Secure your code, cloud, and runtime environments in one central system. Find and fix vulnerabilities automatically.
No credit card required | Scan results in 32secs.
SOC 2Compliant
ISO 27001Compliant