CVE-2022-22817

Aliases:GHSA-8vj2-vxx3-667wBIT-pillow-2022-22817PYSEC-2022-10DEBIAN-CVE-2022-22817ALPINE-CVE-2022-22817
Advisory lineage Upstream: 0 Downstream: 19
Modified
Published: 07 Jan 2022, 00:00
Last modified:15 Oct 2024, 20:26

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (cve.org)
EPSS Score
3.33% LOW
3% probability +0.55%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

07 Jan 2022, 00:00
Published
Vulnerability first disclosed
15 Oct 2024, 20:26
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0CRITICALScore: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 3.33% Percentile: 88%

Affected Systems

  • alpinepy3-pillow

    < 8.4.0-r3

  • debianpillow

    < 8.1.2+dfsg-0.3+deb11u1 | < 9.0.0-1 | < 9.0.0-1 | < 9.0.0-1

  • debiandebian_linux

    9.0 | 10.0 | 11.0

  • PyPIpillow

    < 9.0.1 | < 9.0.0

  • pythonpillow

    < 9.0.1

References (13)