What’s Vulnerable › Vulnerabilities

CVE-2020-36242: PyCA Cryptography symmetrically encrypting large values can lead to integer overflow

Description

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.

Affected products

How to fix

Upgrade to a fixed version: pyca cryptography 3.3.2; Pypi Cryptography 3.3.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-36242 or the next vulnerability affects your stack