VDB
Sign up
CRITICAL9.1

PYSEC-2021-63

Quick fix

PYSEC-2021-63 — cryptography: upgrade to the fixed version with the command below.

pip install --upgrade 'cryptography>=3.3.2'

Details

In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/cryptography
Introduced in: 3.1Fixed in: 3.3.2
Fixpip install --upgrade 'cryptography>=3.3.2'

References