#VU29438 Out-of-bounds read in Pillow


Published: 2020-07-01

Vulnerability identifier: #VU29438

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-10994

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Pillow
Universal components / Libraries / Libraries used by multiple products

Vendor: Alex Clark and Contributors

Description

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

The vulnerability exists due to a boundary condition in "libImaging/Jpeg2KDecode.c". A remote attacker can create a specially crafted JP2 file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Pillow: 6.2.0 - 7.0.0


External links
http://github.com/python-pillow/Pillow/commits/master/src/libImaging/
http://github.com/python-pillow/Pillow/pull/4505
http://github.com/python-pillow/Pillow/pull/4538
http://pillow.readthedocs.io/en/stable/releasenotes/
http://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability