CVE-2023-23931
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2023-23931
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2023-02-07T21:15:09
- Last Modified Date
- 2023-02-16T16:57:18
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:cryptography_project:cryptography:*:*:*:*:*:python:*:* | 1 | OR | 1.8 | 39.0.1 |
References
Reference URL | Reference Tags |
---|---|
https://github.com/pyca/cryptography/pull/8230/commits/94a50a9731f35405f0357fa5f3b177d46a726ab3 | Patch |
https://github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6r | Exploit Vendor Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-23931 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23931 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-04-17 07:21:38 | Added to TrackCVE | |||
2023-04-17 07:21:40 | Weakness Enumeration | new |