CVE-2021-28676
JSON

7.5high

Potential infinite loop in Pillow

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.50% (higher than 85% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-7r7m-5h27-29hpBIT-PILLOW-2021-28676PYSEC-2021-92

Description

An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
pillow (PyPI)before 8.2.0GitHub Advisory Database, PyPA Advisory Database
python pillowbefore 8.2.0NVD
fedoraproject fedora33NVD
pillow (Bitnami)before 8.2.0Bitnami Vulnerability Database

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.

NVD (es)

Se detectó un problema en Pillow versiones anteriores a 8.2.0,. En el caso de los datos FLI, la función FliDecode no comprobaba correctamente que el avance del bloque fuera distinto de cero, lo que podía conllevar un bucle infinito en la carga

References

https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28676-fix-fli-dosadvisory, release-notes, third-party-advisory, web
https://github.com/python-pillow/Pillow/pull/5377advisory, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/discussion, mailing-list, vendor-advisory
https://security.gentoo.org/glsa/202107-33advisory, third-party-advisory, vendor-advisory, web
https://lists.debian.org/debian-lts-announce/2021/07/msg00018.htmladvisory, mailing-list, third-party-advisory, web
https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856fix, patch, web
https://nvd.nist.gov/vuln/detail/CVE-2021-28676advisory, web
https://github.com/advisories/GHSA-7r7m-5h27-29hpadvisory
https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-92.yamlweb
https://github.com/python-pillow/Pillowpackage
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FLweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FLweb

Sources

SourceRecordLicence
CVE ListCVE-2021-28676 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-7r7m-5h27-29hp changed 2024-10-14CC-BY-4.0
NVDCVE-2021-28676 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-92 changed 2023-12-06CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-PILLOW-2021-28676 changed 2026-09-08Apache-2.0