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

Publication date 10 January 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
pillow 24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Not affected
21.10 impish
Fixed 8.1.2+dfsg-0.3ubuntu0.1
21.04 hirsute
Fixed 8.1.2-1ubuntu0.2
20.04 LTS focal
Fixed 7.0.0-4ubuntu0.6
18.04 LTS bionic
Fixed 5.1.0-1ubuntu0.8
16.04 LTS xenial
Vulnerable
14.04 LTS trusty
Vulnerable
pillow-python2 24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Not in release
22.10 kinetic Not in release
22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.04 LTS focal
Needs evaluation
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
python-imaging 24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Not in release
22.10 kinetic Not in release
22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Notes


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

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
pillow

Severity score breakdown

Parameter Value
Base score 9.8 · Critical
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

References

Related Ubuntu Security Notices (USN)

Other references