CVSS 3.1
9.1 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HCritical (9.1). EPSS 2.9% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 8.2.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Hpillow (PyPI): fixed in 8.2.0Explain CVE-2021-25287 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25287?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25287?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-25287 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| python:pillow | before 8.2.0 |
| fedoraproject:fedora | 33 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-77gc-v2xv-rvvh | PyPI | pillow | >=2.4.0 <8.2.0 | 8.2.0 |
| PYSEC-2021-137 | PyPI | pillow | <8.2.0 | 8.2.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | pillow | 8.1.2+dfsg-0.2 | DEBIAN-CVE-2021-25287 |
| Ubuntu | 18.04:LTS | pillow | 5.1.0-1ubuntu0.6 | UBUNTU-CVE-2021-25287 USN-4963-1 |
| Ubuntu | 20.04:LTS | pillow | 7.0.0-4ubuntu0.4 | UBUNTU-CVE-2021-25287 USN-4963-1 |
| Ubuntu | Pro:16.04:LTS | pillow | 3.1.2-0ubuntu1.6+esm3 | UBUNTU-CVE-2021-25287 |
| Ubuntu | Pro:20.04:LTS | pillow-python2 | no fix listed | UBUNTU-CVE-2021-25287 |
| Red Hat | enterprise_linux:8::appstream | python-pillow, python3-pillow, python-pillow-debuginfo and 3 more | 0:5.1.1-16.el8 | RHSA-2021:4149 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-Pillow | 4.2.1-3.14.1 | SUSE-SU-2021:1939-1 |
| SUSE | OpenStack Cloud 7 | python-Pillow | 2.8.1-4.22.1 | SUSE-SU-2021:1940-1 |
| SUSE | OpenStack Cloud 9, OpenStack Cloud Crowbar 9 | python-Pillow | 5.2.0-3.8.1 | SUSE-SU-2021:1938-1 |
| openSUSE | Leap 15.5 | python-Pillow | 7.2.0-150300.3.12.1 | SUSE-SU-2024:1607-1 |
| AlmaLinux | 8 | python3-pillow | 5.1.1-16.el8 | ALSA-2021:4149 |
| Rocky Linux | 8 | python-pillow | 0:5.1.1-16.el8 | RLSA-2021:4149 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | py3-pillow | 8.2.0-r0 | ALPINE-CVE-2021-25287 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
To mitigate this feature on Red Hat Quay keep the invoice generation feature disabled as it is by default.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python-pillow-0:5.1.1-16.el8 | Fixed 2021-11-09 | RHSA-2021:4149 |
| Red Hat Enterprise Linux 7 | python-pillow | Out of support scope | |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-25287.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.