First published: Sun Feb 28 2021(Updated: )
A flaw was found in python-pillow. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. The previous fix for CVE-2020-35654 was insufficient due to incorrect error checking in TiffDecode.c. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Python Pillow | <8.1.1 | |
redhat/python-pillow | <8.1.1 | 8.1.1 |
pip/pillow | >=0<8.1.1 | 8.1.1 |
Disable the invoice generation feature to mitigate this vulnerability in Red Hat Quay.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-25289 is a vulnerability in Pillow, a Python Imaging Library, that allows a heap-based buffer overflow when decoding crafted YCbCr files.
The severity of CVE-2021-25289 is critical with a CVSS score of 9.8 out of 10.
CVE-2021-25289 affects Pillow by causing a heap-based buffer overflow when decoding certain YCbCr files.
To fix CVE-2021-25289, upgrade to version 8.1.1 of python-pillow.
You can find more information about CVE-2021-25289 in the references provided: https://access.redhat.com/security/cve/CVE-2020-35654, https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html, and https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1934683.