Vulnerability
CVE-2023-23931
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.
48 advisories report this vulnerability, across 15 ecosystems.
Advisories
-
ALAS2023-2023-459
Amazon Linux 2023 - ALAS2023-2023-459: Medium priority package update for python-cryptography
-
ALPINE-CVE-2023-23931
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…
- ALPINE-EDGE-CVE-2023-23931
-
ALSA-2023:6615
Moderate: python-cryptography security update
-
ALSA-2023:7096
Moderate: python-cryptography security update
-
ALSA-2024:2985
Moderate: python39:3.9 and python39-devel:3.9 security update
-
AZL-13353
CVE-2023-23931 affecting package python-cryptography for versions less than 3.3.2-4
-
AZL-35127
CVE-2023-23931 affecting package python-cryptography for versions less than 3.3.2-5
- CGA-733r-4jj6-9rf3
- CGA-pvfh-5xh2-6xcc
-
DEBIAN-CVE-2023-23931
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…
-
DLA-3331-1
python-cryptography - security update
-
DLA-3331-2
python-cryptography - regression update
-
DLA-3922-1
python-cryptography - security update
-
ELSA-2023-6615
ELSA-2023-6615: python-cryptography security update (MODERATE)
-
ELSA-2023-7096
ELSA-2023-7096: python-cryptography security update (MODERATE)
-
ELSA-2024-2985
ELSA-2024-2985: python39:3.9 and python39-devel:3.9 security update (MODERATE)
-
GHSA-w7pp-m8wf-vj6r
Cipher.update_into can corrupt memory if passed an immutable python object as the outbuf
-
OESA-2023-1085
python-cryptography security update
-
OESA-2023-1088
python-cryptography security update
-
OESA-2023-1090
python-cryptography security update
-
OESA-2023-1113
python-cryptography security update
-
PYSEC-2023-11
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…
-
RHSA-2023:4693
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
-
RHSA-2023:4971
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
-
RHSA-2023:6615
Red Hat Security Advisory: python-cryptography security update
-
RHSA-2023:6793
Red Hat Security Advisory: rh-python38-python security update
-
RHSA-2023:7096
Red Hat Security Advisory: python-cryptography security update
-
RHSA-2024:2985
Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
-
RHVEX-CVE-2023-23931
python-cryptography: memory corruption via immutable objects
-
RLSA-2024:2985
Moderate: python39:3.9 and python39-devel:3.9 security update
-
SUSE-SU-2023:0722-1
Security update for python-cryptography
-
SUSE-SU-2023:0722-2
Security update for python-cryptography
-
SUSE-SU-2023:0737-1
Security update for python-cryptography
-
SUSE-SU-2023:0837-1
Security update for python-cffi
-
SUSE-SU-2023:0838-1
Security update for python-cffi
-
SUSE-SU-2023:0839-1
Security update for python-cffi
-
SUSE-SU-2023:1763-1
Security update for python-cryptography
-
SUSE-SU-2023:1767-1
Security update for python-cryptography
-
SUSE-SU-2023:2144-1
Security update for python-cryptography
-
SUSE-SU-2023:2218-1
Security update for python-cryptography
-
SUSEVEX-CVE-2023-23931
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…
-
UBUNTU-CVE-2023-23931
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…
-
USN-6539-1
python-cryptography vulnerabilities
-
USN-8776-1
python-cryptography vulnerabilities
-
openSUSE-SU-2024:12681-1
python310-cryptography-39.0.1-1.1 on GA media
-
openSUSE-SU-2025:14739-1
python311-cryptography-44.0.0-1.1 on GA media
-
openSUSE-SU-2026:12020-1
python313-oci-sdk-2.180.0-1.2 on GA media