CVE-2019-16865
python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service
Overview
Description
An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.
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-770
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | pillow | <6.2.0 | 6.2.0 |
Open a package to see all its vulnerabilities.
Operating systems · 14 fixes
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +5 | 2.0.0-20.gitd1c6db8.el7_7 |
| 8 | python3-pillow | 5.1.1-10.el8_1 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-pillow +5 | 0:2.0.0-20.gitd1c6db8.el7_7 | RHSA-2020:0578 |
| 8 | python3-pillow | 0:5.1.1-10.el8_0 | RHSA-2020:0566 |
| 8 | python3-pillow | 0:5.1.1-10.el8_1 | RHSA-2020:0580 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | pillow | 5.4.1-2+deb10u1 |
| 11 | pillow | 6.2.0-1 |
| 12 | pillow | 6.2.0-1 |
| 13 | pillow | 6.2.0-1 |
| 14 | pillow | 6.2.0-1 |
| 9 | pillow | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pillow | 6.2.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/errata/RHSA-2020:0566
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0578
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0580
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0681
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0683
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0694
- access.redhat.com https://access.redhat.com/security/cve/CVE-2019-16865
- github.com https://github.com/advisories/GHSA-j7mj-748x-7p78
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2019-110.yaml
- github.com https://github.com/python-pillow/Pillow
Show all 25 references
- github.com https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb
- github.com https://github.com/python-pillow/Pillow/issues/4123
- linux.oracle.com https://linux.oracle.com/cve/CVE-2019-16865.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-0580.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2019-16865
- pillow.readthedocs.io https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4272-1
- usn.ubuntu.com https://usn.ubuntu.com/4272-1
- usn.ubuntu.com https://usn.ubuntu.com/4272-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2019-16865
- www.debian.org https://www.debian.org/security/2020/dsa-4631
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.