The problem can be corrected by updating your system to the following package versions: Ubuntu 20.04 LTS: python3-pil 7.0.0-4ubuntu0.6 Ubuntu 18.04 LTS: python-pil 5.1.0-1ubuntu0.8 python3-pil 5.1.0-1ubuntu0.8 In general, a standard system update will make all the necessary changes.
https://ubuntu.com/security/notices/USN-5227-3
https://ubuntu.com/security/notices/USN-5227-1
CVE-2022-22817
https://launchpad.net/ubuntu/+source/pillow/7.0.0-4ubuntu0.6 https://launchpad.net/ubuntu/+source/pillow/5.1.0-1ubuntu0.8
Get the latest Linux and open source security news straight to your inbox.