GHSA-hjfx-8p6c-g7gx
Insufficient Verification of Data Authenticity in Pillow
At a glance
- Published
- Updated
- CVE
- CVE-2021-28678
- Aliases
- BIT-pillow-2021-28678, PYSEC-2021-94
- CVSS_V3
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS_V4
- 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
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · pillow | introduced 5.1.0, fixed 8.2.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-28678 ADVISORY
- https://github.com/python-pillow/Pillow/pull/5377 WEB
- https://github.com/python-pillow/Pillow/pull/5377/commits/496245aa4365d0827390bd0b6fbd11287453b3a1 WEB
- https://github.com/advisories/GHSA-hjfx-8p6c-g7gx ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-94.yaml WEB
- https://github.com/python-pillow/Pillow PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL WEB
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28678-fix-blp-dos WEB
- https://security.gentoo.org/glsa/202107-33 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |