Inadequate Encryption Strength Affecting com.amazonaws:aws-encryption-sdk-java Open this link in a new tab package, versions [,2.0.0)


0.0
medium
  • Attack Complexity

    High

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-JAVA-COMAMAZONAWS-1040475

  • published

    16 Nov 2020

  • disclosed

    16 Nov 2020

  • credit

    Thai thaidn Duong

How to fix?

Upgrade com.amazonaws:aws-encryption-sdk-java to version 2.0.0 or higher.

Overview

com.amazonaws:aws-encryption-sdk-java is an AWS Encryption SDK for Java

Affected versions of this package are vulnerable to Inadequate Encryption Strength. A weak robustness vulnerability exists in the AWS Encryption SDKs for Java, Python, C and Javalcript. Due to the non-committing property of AES-GCM (and other AEAD ciphers such as AES-GCM-SIV or (X)ChaCha20Poly1305) used by the SDKs to encrypt messages, an attacker can craft a unique cyphertext which will decrypt to multiple different results, and becomes especially relevant in a multi-recipient setting.