ADVISORIES

Red Hat VEX

RHVEX-CVE-2023-23931

python-cryptography: memory corruption via immutable objects

Moderate No fix available CVE-2023-23931

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7python-cryptography
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python2-cryptography
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python-cryptography
All versions, will not be fixed
Red Hat:enterprise_linux:8python3-cryptography
All versions, will not be fixed

References