CWE
787 119 120
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2021-25289: Buffer Overflow

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 SoftwareAffected VersionHow 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

Remedy

Disable the invoice generation feature to mitigate this vulnerability in Red Hat Quay.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-25289?

    CVE-2021-25289 is a vulnerability in Pillow, a Python Imaging Library, that allows a heap-based buffer overflow when decoding crafted YCbCr files.

  • What is the severity of CVE-2021-25289?

    The severity of CVE-2021-25289 is critical with a CVSS score of 9.8 out of 10.

  • How does CVE-2021-25289 affect Pillow?

    CVE-2021-25289 affects Pillow by causing a heap-based buffer overflow when decoding certain YCbCr files.

  • How can I fix CVE-2021-25289?

    To fix CVE-2021-25289, upgrade to version 8.1.1 of python-pillow.

  • Where can I find more information about CVE-2021-25289?

    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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203