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
| Paquet | Versions |
|---|---|
| PyPI · cryptography | introduced 3.1, fixed 3.3.2 |
Références
- https://github.com/pyca/cryptography/security/advisories/GHSA-rhm9-p9w5-fwm7 WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-36242 ADVISORY
- https://github.com/pyca/cryptography/issues/5615 WEB
- https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7cae WEB
- https://github.com/advisories/GHSA-rhm9-p9w5-fwm7 ADVISORY
- https://github.com/pyca/cryptography PACKAGE
- https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst WEB
- https://github.com/pyca/cryptography/compare/3.3.1...3.3.2 WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-63.yaml WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html WEB
- https://www.oracle.com/security-alerts/cpujul2022.html WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |