cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions Cipher.update_into
would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as bytes
) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since update_into
was originally introduced in cryptography 1.8.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | python-cryptography | < 38.0.4-3 | python-cryptography_38.0.4-3_all.deb |
Debian | 11 | all | python-cryptography | <= 3.3.2-1 | python-cryptography_3.3.2-1_all.deb |
Debian | 10 | all | python-cryptography | < 2.6.1-3+deb10u4 | python-cryptography_2.6.1-3+deb10u4_all.deb |
Debian | 999 | all | python-cryptography | < 38.0.4-3 | python-cryptography_38.0.4-3_all.deb |
Debian | 13 | all | python-cryptography | < 38.0.4-3 | python-cryptography_38.0.4-3_all.deb |