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.
The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Cryptography | Cryptography.io | 1.8 (including) | 39.0.1 (excluding) |
Red Hat Ansible Automation Platform 2.4 for RHEL 8 | RedHat | python3x-cryptography-0:38.0.4-2.el8ap | * |
Red Hat Ansible Automation Platform 2.4 for RHEL 8 | RedHat | automation-controller-0:4.4.3-1.el8ap | * |
Red Hat Ansible Automation Platform 2.4 for RHEL 9 | RedHat | python-cryptography-0:38.0.4-2.el9ap | * |
Red Hat Ansible Automation Platform 2.4 for RHEL 9 | RedHat | automation-controller-0:4.4.3-1.el9ap | * |
Red Hat Enterprise Linux 8 | RedHat | python39:3.9-8100020240214182535.7044f6c1 | * |
Red Hat Enterprise Linux 8 | RedHat | python39-devel:3.9-8100020240214182535.7044f6c1 | * |
Red Hat Enterprise Linux 8 | RedHat | python-cryptography-0:3.2.1-6.el8 | * |
Red Hat Enterprise Linux 9 | RedHat | python-cryptography-0:36.0.1-4.el9 | * |
Red Hat Quay 3 | RedHat | quay/quay-rhel8:v3.10.0-150 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-python-cryptography-0:2.8-6.el7 | * |
Python-cryptography | Ubuntu | bionic | * |
Python-cryptography | Ubuntu | esm-infra/bionic | * |
Python-cryptography | Ubuntu | focal | * |
Python-cryptography | Ubuntu | jammy | * |
Python-cryptography | Ubuntu | kinetic | * |
Python-cryptography | Ubuntu | lunar | * |
Python-cryptography | Ubuntu | trusty | * |
Python-cryptography | Ubuntu | upstream | * |
Python-cryptography | Ubuntu | xenial | * |
The programmer may assume that certain events or conditions will never occur or do not need to be worried about, such as low memory conditions, lack of access to resources due to restrictive permissions, or misbehaving clients or components. However, attackers may intentionally trigger these unusual conditions, thus violating the programmer’s assumptions, possibly introducing instability, incorrect behavior, or a vulnerability. Note that this entry is not exclusively about the use of exceptions and exception handling, which are mechanisms for both checking and handling unusual or unexpected conditions.