GHSA-rhm9-p9w5-fwm7

    Dashboard / Vulnerabilities / GHSA-rhm9-p9w5-fwm7

    GHSA-rhm9-p9w5-fwm7

    Published: 10 Feb 2021Last Modified: 15 Feb 2025

    Summary: PyCA Cryptography symmetrically encrypting large values can lead to integer overflow

    Details: cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. When certain sequences of `update()` calls with large values (multiple GBs) for symetric encryption or decryption occur, it's possible for an integer overflow to happen, leading to mishandling of buffers. This is patched in version 3.3.2 and newer.

    Affected packages

    Package

    Name: cryptography

    Purl: pkg:pypi/cryptography

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.1
    Fixed -3.3.2

    Affected versions

    3.1
    3.1.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
    GHSA-rhm9-p9w5-fwm7 | CVE-DB