UBUNTU-CVE-2023-23931

    Dashboard / Vulnerabilities / UBUNTU-CVE-2023-23931

    UBUNTU-CVE-2023-23931

    Published: 7 Feb 2023Last Modified: 17 Sept 2026

    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.

    Affected packages

    Package

    Name: python-cryptography

    Purl: pkg:deb/ubuntu/python-cryptography?arch=source&distro=esm-infra%2Fbionic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.1.4-1ubuntu1.4+esm6

    Affected versions

    1.9-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2023-23931 | CVE-DB