Vulnerability

CVE-2023-23931

mediumCVSS 3.1 6.5Published 7 Feb 2023

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Cryptography.io cryptography

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning