CVE-2016-9190
python-pillow: Missing check for negative image dimensions in ImagingNew (Storage.c)
Overview
Description
Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "crafted image file" approach, related to an "Insecure Sign Extension" issue affecting the ImagingNew in Storage.c component.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-284
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | pillow | <3.3.2 | 3.3.2 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Red Hat 1 release · 1 package
wont fix 1
python-pillow
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +5 | wont fix |
debian 4 releases · 1 package
fixed 4
pillow
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | 3.4.2-1 |
| 12 | pillow | 3.4.2-1 |
| 13 | pillow | 3.4.2-1 |
| 14 | pillow | 3.4.2-1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 3.4.2-1 |
References
- pillow.readthedocs.io http://pillow.readthedocs.io/en/3.4.x/releasenotes/3.3.2.html
- www.debian.org http://www.debian.org/security/2016/dsa-3710
- www.securityfocus.com http://www.securityfocus.com/bid/94234
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-9190
- github.com https://github.com/advisories/GHSA-w4vg-rf63-f3j3
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-9.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/issues/2105
- github.com https://github.com/python-pillow/Pillow/pull/2146/commits/5d8a0be45aad78c5a22c8d099118ee26ef8144af
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-9190
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.