Advisory

DEBIAN-CVE-2023-23931

Also known as: CVE-2023-23931

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Dates

Published
2023-02-07 21:15 UTC
Modified
2026-10-26 18:01 UTC

Affected packages and fixes

python-cryptography

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 38.0.4-3 (ecosystem)

Fixed versions

38.0.4-3

Fix

  • Fixed version 38.0.4-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-cryptography

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 38.0.4-3 (ecosystem)

Fixed versions

38.0.4-3

Fix

  • Fixed version 38.0.4-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-cryptography

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 38.0.4-3 (ecosystem)

Fixed versions

38.0.4-3

Fix

  • Fixed version 38.0.4-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences