Nfriedly bestzip
bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
bestzip versions 2.2.6 and 3.0.2 contain an argument injection vulnerability in the nativeZip function that allows attackers to inject arbitrary arguments to the Info-ZIP backend. Attackers can supply a malicious destination path combined with crafted source entries to execute arbitrary commands with Node.js process privileges. Fixed in 2.2.7 and 3.0.3.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-88
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
nfriedly bestzip
- >= 2.2.6, < 2.2.7
- >= 3.0.2, < 3.0.3
Fixed in 2.2.7, 3.0.3
Mitigation
Upgrade bestzip to 2.2.7 or 3.0.3 or later.
References
- Vendor advisory github.com/nfriedly/node-bestzip/security/advi…
- Patch github.com/nfriedly/node-bestzip/commit/2adb63…
- Vendor advisory github.com/nfriedly/node-bestzip/security/advi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.