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.
Published:Feb 7, 2023
Last Modified:Nov 3, 2025
EPS:Feb 7, 2023
EPSS Score:0.00331
CVSS Score:4.8
Affected Products
Vendor
Product
Action
Vendor
Cryptography.io
Product
Cryptography
Cryptography.io
Cryptography
Vendor
Redhat
Product
Ansible Automation Platform
Redhat
Ansible Automation Platform
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Quay
Redhat
Quay
Vendor
Redhat
Product
Rhel Software Collections
Redhat
Rhel Software Collections
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
