CVE-2022-22817

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

22 Mar 2024, 11:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html -

10 Dec 2023, 18:15

Type Values Removed Values Added
Summary (en) 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, (en) 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.

31 Jan 2023, 17:46

Type Values Removed Values Added
References (GENTOO) https://security.gentoo.org/glsa/202211-10 - (GENTOO) https://security.gentoo.org/glsa/202211-10 - Third Party Advisory

22 Nov 2022, 06:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202211-10 -

22 Apr 2022, 16:21

Type Values Removed Values Added
References (CONFIRM) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security - (CONFIRM) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security - Release Notes, Vendor Advisory

28 Mar 2022, 02:15

Type Values Removed Values Added
Summary PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. 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,
References
  • (CONFIRM) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security -

10 Feb 2022, 15:08

Type Values Removed Values Added
First Time Debian
Debian debian Linux
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
References (DEBIAN) https://www.debian.org/security/2022/dsa-5053 - (DEBIAN) https://www.debian.org/security/2022/dsa-5053 - Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html - Mailing List, Third Party Advisory
References (MISC) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval - Vendor Advisory (MISC) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval - Release Notes, Vendor Advisory

25 Jan 2022, 15:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2022/dsa-5053 -

23 Jan 2022, 21:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html -

19 Jan 2022, 14:10

Type Values Removed Values Added
First Time Python
Python pillow
References (MISC) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval - (MISC) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval - Vendor Advisory
CWE NVD-CWE-noinfo
CPE cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8

10 Jan 2022, 14:14

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-10 14:12

Updated : 2024-03-22 11:15


NVD link : CVE-2022-22817

Mitre link : CVE-2022-22817

CVE.ORG link : CVE-2022-22817


JSON object : View

Products Affected

debian

  • debian_linux

python

  • pillow