CRITICAL 9.1 PyPI

PyCA Cryptography symmetrically encrypting large values can lead to integer overflow

GHSA-rhm9-p9w5-fwm7 · CVE-2020-36242 · PYSEC-2021-63

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes