PyPA Advisory Database
PYSEC-2021-63
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | cryptography | From 3.1 before 3.3.2 (fixed in 3.3.2) |
References
- https://github.com/pyca/cryptography/issues/5615
- https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst
- https://github.com/pyca/cryptography/compare/3.3.1...3.3.2
- https://lists.fedoraproject.org/archives/list/[email protected]/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E/
- https://github.com/advisories/GHSA-rhm9-p9w5-fwm7