CVE-2021-34552
python-pillow: Buffer overflow in image convert function
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Bitnami. Niedriger laut Amazon (hoch), Red Hat (mittel), AlmaLinux (mittel), Rocky Linux (mittel), Ubuntu (niedrig).
Beschreibung
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 1.1.8, 8.2.1 |
| pip::GitHub Security Advisory pip | pillow | 8.3.0 |
| alma 8 | python3-pillow | 5.1.1-16.el8 |
| alpine 3.15 | py3-pillow | 8.3.0-r0 |
| alpine 3.16 | py3-pillow | 8.3.0-r0 |
| alpine 3.17 | py3-pillow | 8.3.0-r0 |
| alpine 3.18 | py3-pillow | 8.3.0-r0 |
| alpine 3.19 | py3-pillow | 8.3.0-r0 |
| alpine 3.20 | py3-pillow | 8.3.0-r0 |
| alpine 3.21 | py3-pillow | 8.3.0-r0 |
| alpine 3.22 | py3-pillow | 8.3.0-r0 |
| alpine 3.23 | py3-pillow | 8.3.0-r0 |
Alle 51 Einträge aus 33 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 1.1.8, 8.2.1 |
| pip::GitHub Security Advisory pip | pillow | 8.3.0 |
| alma 8 | python3-pillow | 5.1.1-16.el8 |
| alpine 3.15 | py3-pillow | 8.3.0-r0 |
| alpine 3.16 | py3-pillow | 8.3.0-r0 |
| alpine 3.17 | py3-pillow | 8.3.0-r0 |
| alpine 3.18 | py3-pillow | 8.3.0-r0 |
| alpine 3.19 | py3-pillow | 8.3.0-r0 |
| alpine 3.20 | py3-pillow | 8.3.0-r0 |
| alpine 3.21 | py3-pillow | 8.3.0-r0 |
| alpine 3.22 | py3-pillow | 8.3.0-r0 |
| alpine 3.23 | py3-pillow | 8.3.0-r0 |
| alpine 3.24 | py3-pillow | 8.3.0-r0 |
| alpine edge | py3-pillow | 8.3.0-r0 |
| amazon linux 2 | python-pillow | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| amazon linux 2 | python-pillow-debuginfo | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| amazon linux 2 | python-pillow-devel | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| amazon linux 2 | python-pillow-doc | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| amazon linux 2 | python-pillow-sane | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| amazon linux 2 | python-pillow-tk | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| amazon linux 2023 | python-pillow-debuginfo | 9.4.0-2.amzn2023.0.1 |
| amazon linux 2023 | python-pillow-debugsource | 9.4.0-2.amzn2023.0.1 |
| amazon linux 2023 | python3-pillow | 9.4.0-2.amzn2023.0.1 |
| amazon linux 2023 | python3-pillow-debuginfo | 9.4.0-2.amzn2023.0.1 |
| amazon linux 2023 | python3-pillow-devel | 9.4.0-2.amzn2023.0.1 |
| amazon linux 2023 | python3-pillow-tk | 9.4.0-2.amzn2023.0.1 |
| amazon linux 2023 | python3-pillow-tk-debuginfo | 9.4.0-2.amzn2023.0.1 |
| debian 10 | pillow | 5.4.1-2+deb10u3 |
| debian 11 | pillow | 8.1.2+dfsg-0.3 |
| debian 12 | pillow | 8.1.2+dfsg-0.3 |
| debian 13 | pillow | 8.1.2+dfsg-0.3 |
| debian 14 | pillow | 8.1.2+dfsg-0.3 |
| debian 9 | pillow | 4.0.0-4+deb9u3 |
| echo | pillow | 8.1.2+dfsg-0.3 |
| rapidfort amazon linux 2023 | python3-pillow | 9.4.0-2.amzn2023.0.1 |
| rapidfort amazon linux 2023 | python3-pillow-devel | 9.4.0-2.amzn2023.0.1 |
| rapidfort amazon linux 2023 | python3-pillow-tk | 9.4.0-2.amzn2023.0.1 |
| Red Hat | python-pillow | kein Fix angegeben |
| Red Hat | python-pillow-devel | kein Fix angegeben |
| Red Hat | python-pillow-doc | kein Fix angegeben |
| Red Hat | python-pillow-qt | kein Fix angegeben |
| Red Hat | python-pillow-sane | kein Fix angegeben |
| Red Hat | python-pillow-tk | kein Fix angegeben |
| rocky 8 | python3-pillow | 5.1.1-16.el8 |
| ubuntu 14.04-ESM | pillow | 2.3.0-1ubuntu3.4+esm3 |
| ubuntu 16.04-ESM | pillow | 3.1.2-0ubuntu1.6+esm1 |
| ubuntu 18.04 | pillow | 5.1.0-1ubuntu0.7 |
| ubuntu 18.04-ESM | pillow | 5.1.0-1ubuntu0.7 |
| ubuntu 20.04 | pillow | 7.0.0-4ubuntu0.5 |
| ubuntu 20.04-ESM | pillow | 7.0.0-4ubuntu0.5 |
| ubuntu 21.04 | pillow | 8.1.2-1ubuntu0.2 |
Referenzen
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-34552.json
- https://access.redhat.com/security/cve/CVE-2021-34552
- https://github.com/advisories/GHSA-7534-mm45-c74v
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-331.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/commit/31c473898c29d1b7cb6555ce67d9503a4906b83f
- https://github.com/python-pillow/Pillow/pull/5567
- https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
Alle 19 Referenzen
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ/
- https://nvd.nist.gov/vuln/detail/CVE-2021-34552
- https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow
- https://pillow.readthedocs.io/en/stable/releasenotes/index.html
- https://security.gentoo.org/glsa/202211-10
- https://ubuntu.com/security/notices/USN-5227-1
- https://ubuntu.com/security/notices/USN-5227-2
- https://www.cve.org/CVERecord?id=CVE-2021-34552