Vulnerability in Python Pillow
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.007, 54.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 33
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (nnrogers515/discord-coderbot, Yvillia/discord-coderbot). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html (Release Notes, Vendor Advisory)
- github.com/python-pillow/Pillow/pull/5377 (Patch, Third Party Advisory)
- FEDORA-2021-77756994ba (vendor-advisory)
- GLSA-202107-33 (vendor-advisory, Third Party Advisory)