CVE-2021-28678: Insufficient Verification of Data Authenticity in Pillow
(updated )
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.
References
- github.com/advisories/GHSA-hjfx-8p6c-g7gx
- github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-94.yaml
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/pull/5377
- github.com/python-pillow/Pillow/pull/5377/commits/496245aa4365d0827390bd0b6fbd11287453b3a1
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
- nvd.nist.gov/vuln/detail/CVE-2021-28678
- pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html
- security.gentoo.org/glsa/202107-33
Detect and mitigate CVE-2021-28678 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →