Vulnerability · Published Jan 3, 2020 · Assigned by mitre
CVE-2020-5310
High 8.8
In plain English
A high-severity security flaw in the py3-pillow package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)2.0%top 19.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5310 |
| Alpine:v3.21 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5310 |
| Alpine:v3.22 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5310 |
| Alpine:v3.23 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5310 |
| Alpine:v3.24 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5310 |
| Debian:12 | pillow | 7.0.0-1 | DEBIAN-CVE-2020-5310 |
| Debian:13 | pillow | 7.0.0-1 | DEBIAN-CVE-2020-5310 |
| Debian:14 | pillow | 7.0.0-1 | DEBIAN-CVE-2020-5310 |
| PyPI | pillow | 6.2.2 | PYSEC-2020-81 |
| PyPI | pillow | 6.2.2 | GHSA-vcqg-3p29-xw73 |
Affected products (as reported)
References
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4 x_refsource_MISC
- FEDORA-2020-df444e464e vendor-advisory, x_refsource_FEDORA
- USN-4272-1 vendor-advisory, x_refsource_UBUNTU
- FEDORA-2020-5cdbb19cca vendor-advisory, x_refsource_FEDORA