GitHub Advisoryadvisory · PyPI
GHSA-5gm3-px64-rw72 Uncontrolled Resource Consumption in Pillow
HIGH
Official page ↗
- Aliases
- CVE-2019-19911
- Ecosystem
- PyPI
- Packages
- pillow
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-190
- Reviewed
- 2020-04-01
Affected packages
• PyPI pillow: < 6.2.2 → fixed in 6.2.2
Description
There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being terminated by the OOM killer.
Related
Alias · CVE (1)
- CVE-2019-19911 There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer… vulnerability
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-19911 advisory
- https://github.com/python-pillow/Pillow/commit/774e53bb132461d8d5ebefec1162e29ec0ebc63d web
- https://github.com/advisories/GHSA-5gm3-px64-rw72 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-172.yaml web
- https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#622-2020-01-02 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P web
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html web
- https://usn.ubuntu.com/4272-1 web
- https://www.debian.org/security/2020/dsa-4631 web