Error Handling in python-cryptography - CVE-2023-23931

 

Error Handling in python-cryptography - CVE-2023-23931

Published: February 8, 2023 / Updated: July 19, 2023


Vulnerability identifier: #VU72036
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-23931
CWE-ID: CWE-388
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Python Cryptographic Authority
Affected software:
python-cryptography

Detailed vulnerability description

The vulnerability allows an attacker to misuse Python API.

The vulnerability exists due to a soundness bug within the Cipher.update_into function, which can allow immutable objects (such as bytes) to be mutated. A malicious programmer can misuse Python API to introduce unexpected behavior into the application.


How to mitigate CVE-2023-23931

Install updates from vendor's website.

Sources