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 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, 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 (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
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
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
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

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
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CWE NVD-CWE-noinfo
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
CPE cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

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

python

  • pillow

debian

  • debian_linux