GHSA-rhm9-p9w5-fwm7

PyCA Cryptography symmetrically encrypting large values can lead to integer overflow

En bref

Publiée
Mise à jour
CVE
CVE-2020-36242
Alias
PYSEC-2021-63
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

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.

Paquets affectés

PaquetVersions
PyPI · cryptographyintroduced 3.1, fixed 3.3.2

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database