CVE-2019-19911 Uncontrolled Resource Consumption in Pillow
An attacker can cause a denial of service in Pillow by triggering an integer overflow via a crafted image with a large number of bands.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-19911?
CVE-2019-19911 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 5 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2019-19911?
3 open source packages ship an affected version, including pillow. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
pillow PyPI | All versions | 6.2.2 |
pillow PyPI | All versions | 6.2.2 |
pillow PyPI | All versions | 6.2.2 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Python Pillow.
How do I fix CVE-2019-19911?
Upgrade pillow to 6.2.2 or later.
Is CVE-2019-19911 being exploited?
There is no known exploitation of CVE-2019-19911 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-19911, DEBIAN-CVE-2019-19911, GHSA-5gm3-px64-rw72, PYSEC-2020-172, UBUNTU-CVE-2019-19911.