Out-of-bounds read in Pillow - CVE-2020-10177

 

Out-of-bounds read in Pillow - CVE-2020-10177

Published: July 1, 2020


Vulnerability identifier: #VU29436
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-10177
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in "libImaging/FliDecode.c". A remote attacker can trigger out-of-bounds read error and read contents of memory on the system.


Affected software

Pillow
Ubuntu
openEuler
Fedora
python-pil (Ubuntu package)
python3-pil (Ubuntu package)
python3-pillow-devel
python3-pillow-help
python3-pillow
python2-pillow-help
python2-pillow-devel
python2-pillow
python-pillow-debugsource
python-pillow-debuginfo
python-pillow

How to mitigate CVE-2020-10177

Install updates from vendor's website.

Pillow - addressed in versions 6.2.3, 7.1.0
python-pil (Ubuntu package) - addressed in versions 2.3.0-1ubuntu3.4+esm2, 3.1.2-0ubuntu1.4, 5.1.0-1ubuntu0.3
python3-pil (Ubuntu package) - addressed in versions 2.3.0-1ubuntu3.4+esm2, 3.1.2-0ubuntu1.4, 5.1.0-1ubuntu0.3, 7.0.0-4ubuntu0.1
python3-pillow-devel - update to 5.3.0-7
python3-pillow-help - update to 5.3.0-7
python3-pillow - update to 5.3.0-7
python2-pillow-help - update to 5.3.0-7
python2-pillow-devel - update to 5.3.0-7
python2-pillow - update to 5.3.0-7
python-pillow-debugsource - update to 5.3.0-7
python-pillow-debuginfo - update to 5.3.0-7
python-pillow - update to 5.3.0-7
python-pillow - addressed in versions 6.2.2-3.fc31, 7.0.0-4.fc32

External References

Related Security Bulletins