Red Hat VEX
RHVEX-CVE-2023-23931
python-cryptography: memory corruption via immutable objects
Details
A vulnerability was found in python-cryptography. In affected versions, Cipher.update_into would accept Python objects which implement the buffer protocol but provide only immutable buffers. This issue allows immutable objects (such as bytes) to be mutated, thus violating the fundamental rules of Python, resulting in corrupted output.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | python-cryptography | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python2-cryptography | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python-cryptography | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-cryptography | All versions, will not be fixed |