CVE-2021-34552
Buffer Overflow in Pillow
9.8
CRITICAL
CVSS 3.1
EPSS 0.34%
Description
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
How to fix CVE-2021-34552
To remediate CVE-2021-34552, upgrade the affected package to a fixed version below.
- Alpine/py3-pillow—upgrade to 8.3.0-r0 or later
- —upgrade to 1.1.8 or later
- —upgrade to 8.1.2+dfsg-0.3 or later
- —upgrade to 8.3.0 or later
- —upgrade to 8.3.0 or later
Is CVE-2021-34552 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 8.3.0-r0
- >= 1.0.0, < 1.1.8, >= 1.2.0, < 8.2.1
- from 0, < 8.1.2+dfsg-0.3
- from 0, < 8.3.0
- from 0, < 8.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |