PyCA Cryptography symmetrically encrypting large values can lead to integer overflow
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2020-36242US | critical9.1 | — | ||
In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overf… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-rhm9-p9w5-fwm7ADVISORY
- https://github.com/pyca/cryptographyPACKAGE
- https://github.com/pyca/cryptography/blob/master/CHANGELOG.rstWEB
- https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7caeWEB
- https://github.com/pyca/cryptography/compare/3.3.1...3.3.2WEB
- https://github.com/pyca/cryptography/issues/5615WEB
- https://github.com/pyca/cryptography/security/advisories/GHSA-rhm9-p9w5-fwm7WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-63.yamlWEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan