Buffer overflow in Pillow - CVE-2020-10379
Published: July 1, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in "libImaging/TiffDecode.c". 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
Ubuntu
Fedora
python-pillow
python3-pil (Ubuntu package)
How to mitigate CVE-2020-10379
python-pillow - addressed in versions 6.2.2-3.fc31, 7.0.0-4.fc32
python3-pil (Ubuntu package) - update to 7.0.0-4ubuntu0.1
External References
- https://github.com/python-pillow/Pillow/commit/46f4a349b88915787fea3fb91348bb1665831bbb#diff-9478f2787e3ae9668a15123b165c23ac
- https://github.com/python-pillow/Pillow/commits/master/src/libImaging
- https://github.com/python-pillow/Pillow/pull/4538
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.3.html
- https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html