MEDIUM 5.5 PyPI
Insufficient Verification of Data Authenticity in Pillow
GHSA-hjfx-8p6c-g7gx · BIT-pillow-2021-28678 · CVE-2021-28678 · PYSEC-2021-94
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2021-28678
- WEB https://github.com/python-pillow/Pillow/pull/5377
- WEB https://github.com/python-pillow/Pillow/pull/5377/commits/496245aa4365d0827390bd0b6fbd11287453b3a1
- ADVISORY https://github.com/advisories/GHSA-hjfx-8p6c-g7gx
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-94.yaml
- PACKAGE https://github.com/python-pillow/Pillow
- WEB 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
Ready to move
Start Securing
Free, no credit card | First findings in minutes