Lucene search

K
nvd[email protected]NVD:CVE-2023-23931
HistoryFeb 07, 2023 - 9:15 p.m.

CVE-2023-23931

2023-02-0721:15:09
CWE-754
web.nvd.nist.gov
8
cryptography
package
cipher.update_into
mutable objects
corrupted output
cve-2023-23931

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

AI Score

6.4

Confidence

High

EPSS

0.001

Percentile

33.2%

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.

Affected configurations

Nvd
Node
cryptography.iocryptographyRange1.839.0.1python
VendorProductVersionCPE
cryptography.iocryptography*cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

AI Score

6.4

Confidence

High

EPSS

0.001

Percentile

33.2%