CVE-2021-28678
MEDIUMCVSS 5.5/10EPSS 0.73%
Last modified
CVE-2021-28678 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 8.2.0 |
| Fedoraproject | Fedora | 33 |
References
- https://github.com/python-pillow/Pillow/pull/5377Patch, Third Party Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28678-fix-blp-dosRelease Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202107-33Third Party Advisory
- https://github.com/python-pillow/Pillow/pull/5377Patch, Third Party Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28678-fix-blp-dosRelease Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202107-33Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-28678?
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 severe is CVE-2021-28678?
CVE-2021-28678 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.73% probability of exploitation in the next 30 days.
How do I fix CVE-2021-28678?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-28678?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
