CVE-2022-22817
python-pillow: PIL.ImageMath.eval allows evaluation of arbitrary expressions
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Bitnami. Plus basse selon Red Hat (élevée), AlmaLinux (élevée), Amazon (élevée), Oracle (élevée), Rocky Linux (élevée), Ubuntu (moyenne).
Description
PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 9.0.1 |
| pip::GitHub Security Advisory pip | pillow | 9.0.1 |
| alma 8 | python3-pillow, python3-pillow-devel, python3-pillow-doc et 1 autres | 5.1.1-18.el8_5 |
| alpine 3.15 | py3-pillow | 8.4.0-r3 |
| alpine 3.16 | py3-pillow | 9.0.1-r0 |
| alpine 3.17 | py3-pillow | 9.0.1-r0 |
| alpine 3.18 | py3-pillow | 9.0.1-r0 |
| alpine 3.19 | py3-pillow | 9.0.1-r0 |
| alpine 3.20 | py3-pillow | 9.0.1-r0 |
| alpine 3.21 | py3-pillow | 9.0.1-r0 |
| alpine 3.22 | py3-pillow | 9.0.1-r0 |
| alpine 3.23 | py3-pillow | 9.0.1-r0 |
Afficher les 61 entrées de 33 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 9.0.1 |
| pip::GitHub Security Advisory pip | pillow | 9.0.1 |
| alma 8 | python3-pillow | 5.1.1-18.el8_5 |
| alma 8 | python3-pillow-devel | 5.1.1-18.el8_5 |
| alma 8 | python3-pillow-doc | 5.1.1-18.el8_5 |
| alma 8 | python3-pillow-tk | 5.1.1-18.el8_5 |
| alpine 3.15 | py3-pillow | 8.4.0-r3 |
| alpine 3.16 | py3-pillow | 9.0.1-r0 |
| alpine 3.17 | py3-pillow | 9.0.1-r0 |
| alpine 3.18 | py3-pillow | 9.0.1-r0 |
| alpine 3.19 | py3-pillow | 9.0.1-r0 |
| alpine 3.20 | py3-pillow | 9.0.1-r0 |
| alpine 3.21 | py3-pillow | 9.0.1-r0 |
| alpine 3.22 | py3-pillow | 9.0.1-r0 |
| alpine 3.23 | py3-pillow | 9.0.1-r0 |
| alpine 3.24 | py3-pillow | 9.0.1-r0 |
| alpine edge | py3-pillow | 9.0.1-r0 |
| amazon linux 2 | python-pillow | 2.0.0-23.gitd1c6db8.amzn2.0.1 |
| amazon linux 2 | python-pillow-debuginfo | 2.0.0-23.gitd1c6db8.amzn2.0.1 |
| amazon linux 2 | python-pillow-devel | 2.0.0-23.gitd1c6db8.amzn2.0.1 |
| amazon linux 2 | python-pillow-doc | 2.0.0-23.gitd1c6db8.amzn2.0.1 |
| amazon linux 2 | python-pillow-sane | 2.0.0-23.gitd1c6db8.amzn2.0.1 |
| amazon linux 2 | python-pillow-tk | 2.0.0-23.gitd1c6db8.amzn2.0.1 |
| amazon linux 2022 | python-pillow-debuginfo | 9.0.1-6.amzn2022.0.2 |
| amazon linux 2022 | python-pillow-debugsource | 9.0.1-6.amzn2022.0.2 |
| amazon linux 2022 | python3-pillow | 9.0.1-6.amzn2022.0.2 |
| amazon linux 2022 | python3-pillow-debuginfo | 9.0.1-6.amzn2022.0.2 |
| amazon linux 2022 | python3-pillow-devel | 9.0.1-6.amzn2022.0.2 |
| amazon linux 2022 | python3-pillow-tk | 9.0.1-6.amzn2022.0.2 |
| amazon linux 2022 | python3-pillow-tk-debuginfo | 9.0.1-6.amzn2022.0.2 |
| amazon linux 2023 | python-pillow-debuginfo | 9.0.1-6.amzn2023.0.3 |
| amazon linux 2023 | python-pillow-debugsource | 9.0.1-6.amzn2023.0.3 |
| amazon linux 2023 | python3-pillow | 9.0.1-6.amzn2023.0.3 |
| amazon linux 2023 | python3-pillow-debuginfo | 9.0.1-6.amzn2023.0.3 |
| amazon linux 2023 | python3-pillow-devel | 9.0.1-6.amzn2023.0.3 |
| amazon linux 2023 | python3-pillow-tk | 9.0.1-6.amzn2023.0.3 |
| amazon linux 2023 | python3-pillow-tk-debuginfo | 9.0.1-6.amzn2023.0.3 |
| debian 10 | pillow | 5.4.1-2+deb10u5 |
| debian 11 | pillow | 8.1.2+dfsg-0.3+deb11u1 |
| debian 12 | pillow | 9.0.0-1 |
| debian 13 | pillow | 9.0.0-1 |
| debian 14 | pillow | 9.0.0-1 |
| debian 9 | pillow | 4.0.0-4+deb9u4 |
| echo | pillow | 9.0.0-1 |
| Oracle Linux 7 | python-pillow | 2.0.0-23.gitd1c6db8.el7_9 |
| Oracle Linux 7 | python-pillow-devel | 2.0.0-23.gitd1c6db8.el7_9 |
| Oracle Linux 7 | python-pillow-doc | 2.0.0-23.gitd1c6db8.el7_9 |
| Oracle Linux 7 | python-pillow-qt | 2.0.0-23.gitd1c6db8.el7_9 |
| Oracle Linux 7 | python-pillow-sane | 2.0.0-23.gitd1c6db8.el7_9 |
| Oracle Linux 7 | python-pillow-tk | 2.0.0-23.gitd1c6db8.el7_9 |
| Oracle Linux 8 | python3-pillow | 5.1.1-18.el8_5 |
| Oracle Linux 8 | python3-pillow-devel | 5.1.1-18.el8_5 |
| Oracle Linux 8 | python3-pillow-doc | 5.1.1-18.el8_5 |
| Oracle Linux 8 | python3-pillow-tk | 5.1.1-18.el8_5 |
| rocky 8 | python3-pillow | 5.1.1-18.el8_5 |
| ubuntu 18.04 | pillow | 5.1.0-1ubuntu0.8 |
| ubuntu 18.04-ESM | pillow | 5.1.0-1ubuntu0.8 |
| ubuntu 20.04 | pillow | 7.0.0-4ubuntu0.6 |
| ubuntu 20.04-ESM | pillow | 7.0.0-4ubuntu0.6 |
| ubuntu 21.04 | pillow | 8.1.2-1ubuntu0.2 |
| ubuntu 21.10 | pillow | 8.1.2+dfsg-0.3ubuntu0.1 |
Références
- https://access.redhat.com/security/cve/CVE-2022-22817
- https://bugzilla.redhat.com/show_bug.cgi?id=2042522
- https://bugzilla.redhat.com/show_bug.cgi?id=2042527
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22815
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22816
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22817
- https://errata.almalinux.org/8/ALSA-2022-0643.html
- https://errata.rockylinux.org/RLSA-2022:0643
Les 26 références
- https://github.com/advisories/GHSA-8vj2-vxx3-667w
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-10.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/commit/8531b01d6cdf0b70f256f93092caa2a5d91afc11
- https://linux.oracle.com/cve/CVE-2022-22817.html
- https://linux.oracle.com/errata/ELSA-2022-0643.html
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-22817
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
- https://security.gentoo.org/glsa/202211-10
- https://ubuntu.com/security/notices/USN-5227-1
- https://ubuntu.com/security/notices/USN-5227-2
- https://ubuntu.com/security/notices/USN-5227-3
- https://www.cve.org/CVERecord?id=CVE-2022-22817
- https://www.debian.org/security/2022/dsa-5053