Generation of Predictable Initialization Vectors (IVs) Affecting github.com/bincyber/go-sqlcrypter/providers/awskms package, versions *


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-GOLANG-GITHUBCOMBINCYBERGOSQLCRYPTERPROVIDERSAWSKMS-6928979
  • published21 May 2024
  • disclosed30 Jan 2024
  • credittakeyourhatoff

Introduced: 30 Jan 2024

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

How to fix?

There is no fixed version for github.com/bincyber/go-sqlcrypter/providers/awskms.

Overview

github.com/bincyber/go-sqlcrypter/providers/awskms is an AWS KMS using envelope encryption with 256-bit AES in Galois/Counter Mode (GCM).

Affected versions of this package are vulnerable to Generation of Predictable Initialization Vectors (IVs) due to the risk of an IV collision using the awskms or aesgcm provider. An attacker can decrypt all messages encrypted with the affected key by exploiting the IV collision. This is only exploitable if more than 2^32 plaintexts are encrypted under the same key when using a random IV.

CVSS Scores

version 3.1