—
PYSEC-2021-138
Quick fix
PYSEC-2021-138 — pillow: upgrade to the fixed version with the command below.
pip install --upgrade 'pillow>=8.2.0'Details
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-25287-cve-2021-25288-fix-oob-read-in-jpeg2kdecode[WEB]
- https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/[WEB]
- https://github.com/advisories/GHSA-rwv7-3v45-hg29[ADVISORY]