7.5
CWE
20 400
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2021-28677: Input Validation

First published: Thu Apr 01 2021(Updated: )

A flaw was found in python-pillow. The readline used in EPS has to deal with any combination of \r and \n as line endings. It accidentally used a quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a denial-of-service of Pillow in the open phase, before an image was accepted for opening.

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

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

Remedy

To mitigate this feature on Red Hat Quay keep the invoice generation feature disabled, as it is by default.

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-28677?

    CVE-2021-28677 is a vulnerability found in python-pillow, a library used for handling EPS data.

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

    CVE-2021-28677 has a severity rating of high (7).

  • How does CVE-2021-28677 affect python-pillow?

    CVE-2021-28677 affects python-pillow versions 0:5.1.1-16.el8 up to, but excluding, 8.2.0.

  • How can I fix CVE-2021-28677?

    To fix CVE-2021-28677, upgrade python-pillow to version 8.2.0 or higher.

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

    You can find more information about CVE-2021-28677 on CVE.org (https://www.cve.org/CVERecord?id=CVE-2021-28677) and NVD (https://nvd.nist.gov/vuln/detail/CVE-2021-28677).

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