Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2022-22817: CVE-2022-22817 python-pillow: PIL.ImageMath.eval allows evaluation of arbitrary expressions (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2022-22817: CVE-2022-22817 python-pillow: PIL.ImageMath.eval allows evaluation of arbitrary expressions (Multiple Advisories)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
01/10/2022
Created
02/24/2022
Added
02/23/2022
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-python-pillow
  • redhat-upgrade-python-pillow-debuginfo
  • redhat-upgrade-python-pillow-debugsource
  • redhat-upgrade-python-pillow-devel
  • redhat-upgrade-python-pillow-doc
  • redhat-upgrade-python-pillow-qt
  • redhat-upgrade-python-pillow-sane
  • redhat-upgrade-python-pillow-tk
  • redhat-upgrade-python3-pillow
  • redhat-upgrade-python3-pillow-debuginfo
  • redhat-upgrade-python3-pillow-devel
  • redhat-upgrade-python3-pillow-doc
  • redhat-upgrade-python3-pillow-tk
  • redhat-upgrade-python3-pillow-tk-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;