Improper Verification of Cryptographic Signature Affecting @aws-crypto/decrypt-node package, versions >=2.0.0 <2.2.0 <1.9.0
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-AWSCRYPTODECRYPTNODE-1298664
- published 2 Jun 2021
- disclosed 1 Jun 2021
- credit Unknown
How to fix?
Upgrade @aws-crypto/decrypt-node
to version 2.2.0, 1.9.0 or higher.
Overview
@aws-crypto/decrypt-node is an AWS Encryption SDK for Javascript and Node.js
Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature. The ESDK uses AES-GCM encryption and all plaintext is verified before being released to a caller. There is no impact on the integrity of the ciphertext or decrypted plaintext, but some callers may rely on the the ECDSA signature for non-repudiation. Without validating the ECDSA signature, an actor with trusted KMS permissions to decrypt a message may also be able to encrypt messages.