Buffer overflow in Pillow - CVE-2020-5313
Published: January 3, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists in the "libImaging/FliDecode.c" file due to a boundary error when processing FLI image. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Ansible Automation Platform
python-pillow (Red Hat package)
pillow (Ubuntu package)
pillow (Debian package)
py-pillow (Alpine package)
python3-pillow-help
python-pillow-debugsource
python3-pillow
python-pillow-debuginfo
python2-pillow
python2-pillow-devel
python3-pillow-devel
python2-pillow-help
python-pillow
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Fedora
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - TUS
openEuler
How to mitigate CVE-2020-5313
Ansible Automation Platform - addressed in versions 1.0, 1.1, 1.2.4
python-pillow (Red Hat package) - addressed in versions 2.0.0-21.gitd1c6db8.el7, 5.1.1-12.el8_2
pillow (Ubuntu package) - addressed in versions 3.1.2-0ubuntu1.3, 5.1.0-1ubuntu0.2, 6.1.0-1ubuntu0.2
pillow (Debian package) - addressed in versions 4.0.0-4+deb9u1, 5.4.1-2+deb10u1
py-pillow (Alpine package) - update to 6.2.2-r0
python3-pillow-help - update to 5.3.0-10
python-pillow-debugsource - update to 5.3.0-10
python3-pillow - update to 5.3.0-10
python-pillow-debuginfo - update to 5.3.0-10
python2-pillow - update to 5.3.0-10
python2-pillow-devel - update to 5.3.0-10
python3-pillow-devel - update to 5.3.0-10
python2-pillow-help - update to 5.3.0-10
python-pillow - update to 5.3.0-10
python-pillow - addressed in versions 5.4.1-4.fc30, 6.2.2-1.fc31
python3-pillow - update to 6.2.2-1.el7
External References
Related Security Bulletins
- Multiple vulnerabilities in Pillow
- Ubuntu update for Pillow
- Debian update for pillow
- Red Hat Enterprise Linux 8 update for python-pillow
- Buffer overflow in py-pillow (Alpine package)
- Red Hat Enterprise Linux 7 update for python-pillow
- Multiple vulnerabilities in Red Hat Ansible Automation Platform 1.2
- openEuler 20.03 LTS update for python-pillow
- Multiple vulnerabilities in Ansible Automation Platform 1.0 packages
- Multiple vulnerabilities in Ansible Automation Platform 1.1 packages
- Fedora EPEL 7 update for python3-pillow
- Fedora 31 update for python-pillow
- Fedora 30 update for python-pillow