@zip.js/zip.js is vulnerable to Improper Verification of Cryptographic Signature
80
CVE Score
High
Improper Verification of Cryptographic Signature
@zip.js/zip.js contains several cryptographic correctness defects in its ZIP decryption path. AES-encrypted entry authentication tags are not always verified, allowing a tampered ciphertext to be decrypted and returned without the integrity check failing. ZipCrypto password verification uses a variable-time comparison, leaking timing information that can aid password recovery. When the Web Crypto API is unavailable the library falls back to a non-cryptographic pseudo-random generator for key material, weakening encryption for newly created archives. The fix enforces AES authentication on every decryption, replaces the ZipCrypto comparison with a constant-time implementation, and removes the insecure PRNG fallback.
Upgrade the @zip.js/zip.js library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application decrypts AES- or ZipCrypto-encrypted ZIP entries, or creates encrypted archives in runtimes where crypto.getRandomValues is unavailable.
2.0.0 - 2.8.26
Fixed in 2.8.28@zip.js/zip.js is vulnerable to Improper Verification of Cryptographic Signature in versions 2.0.0 - 2.8.26.
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.