Insufficient Verification of Data Authenticity Affecting cryptography package, versions [0.8,41.0.3)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.38% (73rd percentile)

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-PYTHON-CRYPTOGRAPHY-5813745
  • published20 Jul 2023
  • disclosed7 Jul 2023
  • creditJuerg Wullschleger

Introduced: 7 Jul 2023

CVE-2023-2975  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade cryptography to version 41.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity in the AES-SIV cipher implementation in ciphers/cipher_aes_siv.c, which ignores empty associated data entries, making them unauthenticated.

Applications that use the AES-SIV algorithm and want to authenticate empty data entries as associated data can be misled by removing, adding or reordering such empty entries as these are ignored by the OpenSSL implementation.

NOTE: This issue does not affect non-empty associated data authentication and the maintainers are currently unaware of any applications that use empty associated data entries.

CVSS Scores

version 3.1