Logo
vulnerabilityCVE-2023-23931
Name
CVE-2023-23931
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
python3-cryptography
Patched

Vulnerability Ratings#


4.8
CVSSv31
6.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
yocto
master
49.0.0
Not Affected
yocto
scarthgap
42.0.5
Not Affected

Resolved with patches#


python3-cryptography (yocto:kirkstone)

#
Title
Author
Resolve
1
Don't allow update_into to mutate immutable objects (#8230)
Alex Gaynor <alex.gaynor@gmail.com>
CVE-2023-23931