Isaacs node-tar
node-tar: Negative tar entry size causes infinite loop in archive replace
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, tar.replace accepts a checksum-valid tar header with a negative base-256 encoded entry size, causing the archive scanner to make no progress while repeatedly parsing the same header. This issue is fixed in version 7.5.18.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-835
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
isaacs node-tar
- < 7.5.18
Fixed in 7.5.18
Mitigation
Upgrade node-tar to 7.5.18 or later.
References
- Vendor advisory github.com/isaacs/node-tar/security/advisories…
- Patch github.com/isaacs/node-tar/commit/9e78bf058b2c…
- Release notes github.com/isaacs/node-tar/releases/tag/v7.5.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.