CVE-2023-23931
Summary
| CVE | CVE-2023-23931 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-02-07 21:15:00 UTC |
| Updated | 2023-02-16 16:57:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Cipher.update_into can corrupt memory if passed an immutable python object as the outbuf · Advisory · pyca/cryptography · GitHub |
MISC |
github.com |
|
| Don't allow update_into to mutate immutable objects by alex · Pull Request #8230 · pyca/cryptography · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 161077 Oracle Enterprise Linux Security Update for python-cryptography (ELSA-2023-6615)
- 161161 Oracle Enterprise Linux Security Update for python-cryptography (ELSA-2023-7096)
- 181601 Debian Security Update for python-cryptography (DLA 3331-1)
- 181614 Debian Security Update for python-cryptography (DLA 3331-2)
- 184595 Debian Security Update for python-cryptography (CVE-2023-23931)
- 199984 Ubuntu Security Notification for python-cryptography Vulnerability (USN-6539-1)
- 20355 Oracle Database 21c Critical Patch Update - July 2023
- 242344 Red Hat Update for rh-python38-python (RHSA-2023:6793)
- 242403 Red Hat Update for python-cryptography (RHSA-2023:6615)
- 242438 Red Hat Update for python-cryptography (RHSA-2023:7096)
- 283749 Fedora Security Update for python (FEDORA-2023-fa5d0b461d)
- 283775 Fedora Security Update for python (FEDORA-2023-672f668f51)
- 284276 Fedora Security Update for python (FEDORA-2023-749dd47c79)
- 296099 Oracle Solaris 11.4 Support Repository Update (SRU) 57.144.3 Missing (CPUAPR2023)
- 356791 Amazon Linux Security Advisory for python-cryptography : ALAS2023-2023-459
- 502918 Alpine Linux Security Update for py3-cryptography
- 503223 Alpine Linux Security Update for py3-cryptography
- 506172 Alpine Linux Security Update for py3-cryptography
- 672922 EulerOS Security Update for python-cryptography (EulerOS-SA-2023-1809)
- 672956 EulerOS Security Update for python-cryptography (EulerOS-SA-2023-1827)
- 673180 EulerOS Security Update for python-cryptography (EulerOS-SA-2023-2340)
- 673201 EulerOS Security Update for python-cryptography (EulerOS-SA-2023-2320)
- 673376 EulerOS Security Update for python-cryptography (EulerOS-SA-2023-2706)
- 673465 EulerOS Security Update for python-cryptography (EulerOS-SA-2024-1293)
- 673855 EulerOS Security Update for python-cryptography (EulerOS-SA-2023-2664)
- 691144 Free Berkeley Software Distribution (FreeBSD) Security Update for py (a32ef450-9781-414b-a944-39f2f61677f2)
- 753796 SUSE Enterprise Linux Security Update for python-cryptography (SUSE-SU-2023:0737-1)
- 753831 SUSE Enterprise Linux Security Update for python-cffi (SUSE-SU-2023:0837-1)
- 753887 SUSE Enterprise Linux Security Update for python-cryptography (SUSE-SU-2023:1763-1)
- 753893 SUSE Enterprise Linux Security Update for python-cryptography (SUSE-SU-2023:1767-1)
- 905448 Common Base Linux Mariner (CBL-Mariner) Security Update for python-cryptography (13330)
- 905466 Common Base Linux Mariner (CBL-Mariner) Security Update for python-cryptography (13353)
- 905616 Common Base Linux Mariner (CBL-Mariner) Security Update for python-cryptography (13353-1)
- 905658 Common Base Linux Mariner (CBL-Mariner) Security Update for python-cryptography (13330-1)
- 906588 Common Base Linux Mariner (CBL-Mariner) Security Update for python-cryptography (13330-3)
- 906677 Common Base Linux Mariner (CBL-Mariner) Security Update for python-cryptography (13353-3)
- 941413 AlmaLinux Security Update for python-cryptography (ALSA-2023:6615)
- 941460 AlmaLinux Security Update for python-cryptography (ALSA-2023:7096)