CVE-2021-28678
Insufficient Verification of Data Authenticity in Pillow
5.5
MEDIUM
CVSS 3.1
EPSS 0.11%
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.
How to fix CVE-2021-28678
To remediate CVE-2021-28678, upgrade the affected package to a fixed version below.
- —upgrade to 8.2.0-r0 or later
- —upgrade to 8.2.0 or later
- —upgrade to 8.1.2+dfsg-0.2 or later
- —upgrade to 8.2.0 or later
- —upgrade to 8.2.0 or later
Is CVE-2021-28678 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 8.2.0-r0
- from 0, < 8.2.0
- from 0, < 8.1.2+dfsg-0.2
- >= 5.1.0, < 8.2.0
- from 0, < 8.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |