Vulnerability · Published Jun 2, 2021 · Assigned by mitre

CVE-2021-28678

Medium 5.5

In plain English

A medium-severity security flaw in the python3-pillow package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.7%top 45.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8python3-pillow5.1.1-16.el8ALSA-2021:4149
Alpine:v3.20py3-pillow8.2.0-r0ALPINE-CVE-2021-28678
Alpine:v3.21py3-pillow8.2.0-r0ALPINE-CVE-2021-28678
Alpine:v3.22py3-pillow8.2.0-r0ALPINE-CVE-2021-28678
Alpine:v3.23py3-pillow8.2.0-r0ALPINE-CVE-2021-28678
Alpine:v3.24py3-pillow8.2.0-r0ALPINE-CVE-2021-28678
Debian:12pillow8.1.2+dfsg-0.2DEBIAN-CVE-2021-28678
Debian:13pillow8.1.2+dfsg-0.2DEBIAN-CVE-2021-28678
Debian:14pillow8.1.2+dfsg-0.2DEBIAN-CVE-2021-28678
PyPIpillow8.2.0GHSA-hjfx-8p6c-g7gx
PyPIpillow8.2.0PYSEC-2021-94
Rocky Linux:8python-pillow0:5.1.1-16.el8RLSA-2021:4149

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References