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

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

Introduced: 1 Jun 2021

CVE NOT AVAILABLE CWE-347 Open this link 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
Expand this section

Snyk

Recommended
4.2 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None