Improper Verification of Cryptographic Signature Affecting @aws-crypto/decrypt-node package, versions >=2.0.0 <2.2.0<1.9.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 IDSNYK-JS-AWSCRYPTODECRYPTNODE-1298664
  • published2 Jun 2021
  • disclosed1 Jun 2021
  • creditUnknown

Introduced: 1 Jun 2021

CVE NOT AVAILABLE CWE-347  (opens in a new tab)

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.

References

CVSS Scores

version 3.1