Vulnerability · Published Jan 3, 2020 · Assigned by mitre
CVE-2020-5311
Critical 9.8
In plain English
A critical-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 4.2% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)4.2%top 9.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5311 |
| Alpine:v3.21 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5311 |
| Alpine:v3.22 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5311 |
| Alpine:v3.23 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5311 |
| Alpine:v3.24 | py3-pillow | 6.2.2-r0 | ALPINE-CVE-2020-5311 |
| Debian:12 | pillow | 7.0.0-1 | DEBIAN-CVE-2020-5311 |
| Debian:13 | pillow | 7.0.0-1 | DEBIAN-CVE-2020-5311 |
| Debian:14 | pillow | 7.0.0-1 | DEBIAN-CVE-2020-5311 |
| PyPI | pillow | 6.2.2 | PYSEC-2020-82 |
| PyPI | pillow | 6.2.2 | GHSA-r7rm-8j6h-r933 |
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/a79b65c47c7dc6fe623aadf09aa6192fc54548f3 x_refsource_MISC
- FEDORA-2020-df444e464e vendor-advisory, x_refsource_FEDORA
- USN-4272-1 vendor-advisory, x_refsource_UBUNTU
- RHSA-2020:0566 vendor-advisory, x_refsource_REDHAT
- FEDORA-2020-5cdbb19cca vendor-advisory, x_refsource_FEDORA
- DSA-4631 vendor-advisory, x_refsource_DEBIAN
- RHSA-2020:0580 vendor-advisory, x_refsource_REDHAT