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

21 Nov 2024, 06:47

Type Values Removed Values Added
References () https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html - () https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html -
References () 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.0.html#restrict-builtins-available-to-imagemath-eval - Release Notes, Vendor Advisory
References () https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security - Release Notes, Vendor Advisory () https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security - Release Notes, Vendor Advisory
References () https://security.gentoo.org/glsa/202211-10 - Third Party Advisory () https://security.gentoo.org/glsa/202211-10 - Third Party Advisory
References () https://www.debian.org/security/2022/dsa-5053 - Third Party Advisory () https://www.debian.org/security/2022/dsa-5053 - Third Party Advisory

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
References
  • (CONFIRM) https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security -
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,

10 Feb 2022, 15:08

Type Values Removed Values Added
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:*:*:*:*:*:*:*
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

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

10 Jan 2022, 14:14

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-10 14:12

Updated : 2024-11-21 06:47


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