CVE-2020-36242
python-cryptography: Large inputs for symmetric encryption can trigger integer overflow leading to buffer overflow
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, CBL-Mariner, Photon OS. Niedriger laut GHSA (hoch), Red Hat (mittel), Oracle (mittel), Rocky Linux (mittel).
Beschreibung
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 overflow, as demonstrated by the Fernet class.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| CBL-Mariner 1.0 | python-cryptography | 0:3.3.2-1.cm1 |
| Photon OS 1.0 | python-cryptography | 1.9-1.ph1 |
| Photon OS 2.0 | python-cryptography | 2.3.1-2.ph2 |
| Photon OS 3.0 | python-cryptography | 2.8-2.ph3 |
| Photon OS 4.0 | python3-cryptography | 3.3.2-1.ph4 |
| alpine 3.13 | py3-cryptography | 3.3.2-r0 |
| alpine 3.16 | py3-cryptography | 3.2.2-r0 |
| alpine 3.17 | py3-cryptography | 3.2.2-r0 |
| alpine 3.18 | py3-cryptography | 3.2.2-r0 |
| alpine 3.19 | py3-cryptography | 3.2.2-r0 |
| alpine 3.20 | py3-cryptography | 3.2.2-r0 |
| alpine 3.21 | py3-cryptography | 3.2.2-r0 |
Alle 32 Einträge aus 27 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| CBL-Mariner 1.0 | python-cryptography | 0:3.3.2-1.cm1 |
| Photon OS 1.0 | python-cryptography | 1.9-1.ph1 |
| Photon OS 2.0 | python-cryptography | 2.3.1-2.ph2 |
| Photon OS 3.0 | python-cryptography | 2.8-2.ph3 |
| Photon OS 4.0 | python3-cryptography | 3.3.2-1.ph4 |
| alpine 3.13 | py3-cryptography | 3.3.2-r0 |
| alpine 3.16 | py3-cryptography | 3.2.2-r0 |
| alpine 3.17 | py3-cryptography | 3.2.2-r0 |
| alpine 3.18 | py3-cryptography | 3.2.2-r0 |
| alpine 3.19 | py3-cryptography | 3.2.2-r0 |
| alpine 3.20 | py3-cryptography | 3.2.2-r0 |
| alpine 3.21 | py3-cryptography | 3.2.2-r0 |
| alpine 3.22 | py3-cryptography | 3.2.2-r0 |
| alpine 3.23 | py3-cryptography | 3.2.2-r0 |
| alpine 3.24 | py3-cryptography | 3.2.2-r0 |
| alpine edge | py3-cryptography | 3.2.2-r0 |
| debian 10 | python-cryptography | kein Fix angegeben |
| debian 11 | python-cryptography | 3.3.2-1 |
| debian 12 | python-cryptography | 3.3.2-1 |
| debian 13 | python-cryptography | 3.3.2-1 |
| debian 14 | python-cryptography | 3.3.2-1 |
| echo | python-cryptography | 3.3.2-1 |
| Oracle Linux 8 | python3-cryptography | 3.2.1-4.el8 |
| pip::GitHub Security Advisory pip | cryptography | 3.3.2 |
| Red Hat | python-cryptography | kein Fix angegeben |
| Red Hat | python2-cryptography | kein Fix angegeben |
| Red Hat | python38:3.8::python-cryptography | kein Fix angegeben |
| Red Hat | python38:3.8::python3-cryptography | kein Fix angegeben |
| Red Hat | python39:3.9::python-cryptography | kein Fix angegeben |
| Red Hat | python39:3.9::python3-cryptography | kein Fix angegeben |
| rocky 8 | python3-cryptography | 3.2.1-4.el8 |
| root.io debian 12 | rootio-python-cryptography | 3.3.2-1 |
Referenzen
- https://access.redhat.com/errata/RHSA-2021:1608
- https://access.redhat.com/security/cve/CVE-2020-36242
- https://bugzilla.redhat.com/show_bug.cgi?id=1778939
- https://bugzilla.redhat.com/show_bug.cgi?id=1873581
- https://bugzilla.redhat.com/show_bug.cgi?id=1889988
- https://bugzilla.redhat.com/show_bug.cgi?id=1891947
- https://bugzilla.redhat.com/show_bug.cgi?id=1907429
- https://bugzilla.redhat.com/show_bug.cgi?id=1926226
Alle 29 Referenzen
- https://creativecommons.org/licenses/by/4.0/
- https://cryptography.io/en/latest/changelog.html#v3-3-2
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25659
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36242
- https://errata.rockylinux.org/RLSA-2021:1608
- https://github.com/advisories/GHSA-rhm9-p9w5-fwm7
- https://github.com/pyca/cryptography
- https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst
- https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7cae
- https://github.com/pyca/cryptography/compare/3.3.1...3.3.2
- https://github.com/pyca/cryptography/issues/5615
- https://github.com/pyca/cryptography/security/advisories/GHSA-rhm9-p9w5-fwm7
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-63.yaml
- https://linux.oracle.com/cve/CVE-2020-36242.html
- https://linux.oracle.com/errata/ELSA-2021-1608.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E/
- https://nvd.nist.gov/vuln/detail/CVE-2020-36242
- https://www.cve.org/CVERecord?id=CVE-2020-36242
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html