VDB

ALPINE-CVE-2023-23931

ALPINE-CVE-2023-23931 PUBLISHED CVSS 6.5 MEDIUM

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.

Risk Scores

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

Affected Products

VendorProductVersions
Alpine:v3.24py3-cryptography1.8
Alpine:v3.23py3-cryptography0, 0.6.1-r0, 0.8.2-r0

Timeline

  • Feb 7, 2023 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jul 8, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›