Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2022-22817

Published: 10 January 2022

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.

Notes

AuthorNote
ccdm94
upstream mentions in the readthedocs page for version
9.0.1 (https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html)
that the fix for this CVE applied in version 9.0.0
(commit 8531b01d6c) does not completely patch the
vulnerability. A new commit, dd46100bdc, was added in
order to completely fix the issue.
mdeslaur
switching releases back to needed due to incomplete fix

Priority

Medium

Cvss 3 Severity Score

9.8

Score breakdown

Status

Package Release Status
pillow
Launchpad, Ubuntu, Debian
bionic
Released (5.1.0-1ubuntu0.8)
focal
Released (7.0.0-4ubuntu0.6)
hirsute
Released (8.1.2-1ubuntu0.2)
impish
Released (8.1.2+dfsg-0.3ubuntu0.1)
jammy Not vulnerable
(9.0.1-1build1)
kinetic Not vulnerable
(9.2.0-1)
lunar Not vulnerable
(9.2.0-1)
trusty Needed

upstream
Released (9.0.1)
xenial Needed

mantic Not vulnerable
(9.2.0-1)
Patches:
upstream: https://github.com/python-pillow/Pillow/commit/8531b01d6cdf0b70f256f93092caa2a5d91afc11
upstream: https://github.com/python-pillow/Pillow/commit/dd46100bdc7fbb6c2fb71008a49c40f081eb0c7c
pillow-python2
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Needs triage

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

mantic Does not exist

python-imaging
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

mantic Does not exist

Severity score breakdown

Parameter Value
Base score 9.8
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H