CVE-2021-27923: Input Validation

Published Mar 3, 2021
·
Updated

A flaw was found in python-pillow. Attackers can cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.

Other sources

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 an ICO container, and thus an attempted memory allocation can be very large.

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

MITRE

Affected Software

7 affected componentsFixes available
redhat/python-pillow<0:5.1.1-16.el8
0:5.1.1-16.el8
redhat/python-pillow<8.1.2
8.1.2
pip/Pillow<8.1.1
8.1.1
Python Pillow<8.1.1
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Remediation

Information

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

Event History

Mar 3, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·08:41 AM
Data Sourced
via MITRE·08:41 AM
Description
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeaknessAffected Software
Mar 18, 2021
Advisory Published
via GitHub·07:54 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw?

The vulnerability ID for this flaw is CVE-2021-27923.

2

What is the severity rating of CVE-2021-27923?

CVE-2021-27923 has a severity rating of 7.5 (high).

3

How can this vulnerability be exploited?

This vulnerability can be exploited to cause a denial of service by consuming excessive memory.

4

Which software versions are affected by CVE-2021-27923?

Versions up to and including Pillow 8.1.1 are affected by CVE-2021-27923.

5

How can I fix CVE-2021-27923?

To fix CVE-2021-27923, update your Python Pillow package to version 8.1.2 or higher.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203