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.
CVE-2023-23931 - Medium Severity Vulnerability
Vulnerable Libraries - cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl, cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl
cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl
cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Library home page: https://files.pythonhosted.org/packages/5b/12/b0409a94dad366d98a8eee2a77678c7a73aafd8c0e4b835abea634ea3896/cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl
Path to dependency file: /Day61-65/code/hello-tornado/requirements.txt
Path to vulnerable library: /Day61-65/code/hello-tornado/requirements.txt,/Day61-65/code/project_of_tornado/requirements.txt
Dependency Hierarchy: - :x: **cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl** (Vulnerable Library)
cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl
cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Library home page: https://files.pythonhosted.org/packages/c2/fa/fa9a8933c285895935d1392922fe721e9cb1b2c1881d14f149213a227ee3/cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl
Path to dependency file: /Day41-55/code/oa/requirements.txt
Path to vulnerable library: /Day41-55/code/oa/requirements.txt
Dependency Hierarchy: - :x: **cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl** (Vulnerable Library)
Found in HEAD commit: 53c8f2d511b1d277a31286a85a37f1a7903e3e37
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2023-02-07
URL: CVE-2023-23931
CVSS 3 Score Details (4.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-23931
Release Date: 2023-02-07
Fix Resolution: 39.0.1
Step up your Open Source Security Game with Mend here