7.5
CWE
400 20
Advisory Published
Advisory Published
Updated

CVE-2021-27921: Input Validation

First published: Wed Mar 03 2021(Updated: )

Pillow before 8.1.1 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/Pillow<8.1.1
8.1.1
redhat/python-pillow<8.1.2
8.1.2
redhat/python-pillow<0:5.1.1-16.el8
0:5.1.1-16.el8
Python Pillow<8.1.1
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-27921?

    CVE-2021-27921 is a vulnerability in python-pillow that allows attackers to cause a denial of service by consuming excessive memory.

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

    The severity of CVE-2021-27921 is rated as high (7.5).

  • How does CVE-2021-27921 impact Pillow?

    CVE-2021-27921 allows attackers to cause a denial of service in Pillow by consuming excessive memory.

  • How can I fix CVE-2021-27921?

    To fix CVE-2021-27921, update python-pillow to version 8.1.1 or higher.

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

    More information about CVE-2021-27921 can be found on the CVE website (https://www.cve.org/CVERecord?id=CVE-2021-27921) and the NVD website (https://nvd.nist.gov/vuln/detail/CVE-2021-27921).

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