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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 86%
Affected Products (NVD)
VendorProductVersion
pythonpillow
𝑥
< 9.0.1
debiandebian_linux
9.0
debiandebian_linux
10.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pillow
bookworm
9.4.0-1.1+deb12u1
fixed
bookworm (security)
9.4.0-1.1+deb12u1
fixed
bullseye
8.1.2+dfsg-0.3+deb11u2
fixed
bullseye (security)
8.1.2+dfsg-0.3+deb11u2
fixed
sid
10.4.0-1
fixed
trixie
10.4.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pillow
bionic
Fixed 5.1.0-1ubuntu0.8
released
focal
Fixed 7.0.0-4ubuntu0.6
released
hirsute
Fixed 8.1.2-1ubuntu0.2
released
impish
Fixed 8.1.2+dfsg-0.3ubuntu0.1
released
jammy
not-affected
kinetic
not-affected
lunar
not-affected
mantic
not-affected
noble
not-affected
trusty
needed
xenial
needed
pillow-python2
bionic
dne
focal
needs-triage
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
python-imaging
bionic
dne
focal
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
python-pillow
RHEL 7
0:2.0.0-23.gitd1c6db8.el7_9
fixed
python-pillow-devel
RHEL 7
0:2.0.0-23.gitd1c6db8.el7_9
fixed
python-pillow-doc
RHEL 7
0:2.0.0-23.gitd1c6db8.el7_9
fixed
python-pillow-qt
RHEL 7
0:2.0.0-23.gitd1c6db8.el7_9
fixed
python-pillow-sane
RHEL 7
0:2.0.0-23.gitd1c6db8.el7_9
fixed
python-pillow-tk
RHEL 7
0:2.0.0-23.gitd1c6db8.el7_9
fixed
python3-pillow
RHEL 8
0:5.1.1-18.el8_5
fixed
python3-pillow-devel
RHEL 8
0:5.1.1-18.el8_5
fixed
python3-pillow-doc
RHEL 8
0:5.1.1-18.el8_5
fixed
python3-pillow-tk
RHEL 8
0:5.1.1-18.el8_5
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
python-pillow
Amazon Linux 2
0:2.0.0-23.gitd1c6db8.amzn2.0.1
fixed
python-pillow-debuginfo
Amazon Linux 2
0:2.0.0-23.gitd1c6db8.amzn2.0.1
fixed
Amazon Linux 2023
0:9.0.1-6.amzn2023.0.3
fixed
python-pillow-debugsource
Amazon Linux 2023
0:9.0.1-6.amzn2023.0.3
fixed
python-pillow-devel
Amazon Linux 2
0:2.0.0-23.gitd1c6db8.amzn2.0.1
fixed
python-pillow-doc
Amazon Linux 2
0:2.0.0-23.gitd1c6db8.amzn2.0.1
fixed
python-pillow-sane
Amazon Linux 2
0:2.0.0-23.gitd1c6db8.amzn2.0.1
fixed
python-pillow-tk
Amazon Linux 2
0:2.0.0-23.gitd1c6db8.amzn2.0.1
fixed
python3-pillow
Amazon Linux 2023
0:9.0.1-6.amzn2023.0.3
fixed
python3-pillow-debuginfo
Amazon Linux 2023
0:9.0.1-6.amzn2023.0.3
fixed
python3-pillow-devel
Amazon Linux 2023
0:9.0.1-6.amzn2023.0.3
fixed
python3-pillow-tk
Amazon Linux 2023
0:9.0.1-6.amzn2023.0.3
fixed
python3-pillow-tk-debuginfo
Amazon Linux 2023
0:9.0.1-6.amzn2023.0.3
fixed