CVE-2019-19911
python-pillow: uncontrolled resource consumption in FpxImagePlugin.py
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-190
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | pillow | <6.2.2 | 6.2.2 |
Open a package to see all its vulnerabilities.
Operating systems · 13 fixes
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-pillow | 6.2.2-r0 |
| 3.23 | py3-pillow | 6.2.2-r0 |
| 3.24 | py3-pillow | 6.2.2-r0 |
| edge | py3-pillow | 6.2.2-r0 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | pillow | 5.4.1-2+deb10u1 |
| 11 | pillow | 7.0.0-1 |
| 12 | pillow | 7.0.0-1 |
| 13 | pillow | 7.0.0-1 |
| 14 | pillow | 7.0.0-1 |
| 9 | pillow | 4.0.0-4+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pillow | 7.0.0-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | pillow | 5.1.0-1ubuntu0.2 |
| 18.04-ESM | pillow | 5.1.0-1ubuntu0.2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2019-19911
- github.com https://github.com/advisories/GHSA-5gm3-px64-rw72
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-172.yaml
- github.com https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#622-2020-01-02
- github.com https://github.com/python-pillow/Pillow/commit/774e53bb132461d8d5ebefec1162e29ec0ebc63d
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2019-19911
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4272-1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.