CVEvulnerability
CVE-2022-22817
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-01-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
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.
Affected configurations
• python pillow (< 9.0.1)
• debian debian linux 9.0
• debian debian linux 10.0
• debian debian linux 11.0
References
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html lists.debian.org
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval Release Notes, Vendor Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security Release Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202211-10 Third Party Advisory
- https://www.debian.org/security/2022/dsa-5053 Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html lists.debian.org
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval Release Notes, Vendor Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security Release Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202211-10 Third Party Advisory
- https://www.debian.org/security/2022/dsa-5053 Third Party Advisory