VYPR
Medium severity4.8NVD Advisory· Published Feb 7, 2023· Updated Jun 17, 2026

CVE-2023-23931

CVE-2023-23931

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
cryptographyPyPI
>= 1.8, < 39.0.139.0.1

Affected products

141

Patches

Vulnerability mechanics

References

10

News mentions

0

No linked articles in our index yet.