—
PYSEC-2021-331
Quick fix
PYSEC-2021-331 — pillow: upgrade to the fixed version with the command below.
pip install --upgrade 'pillow>=8.3.0'Details
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://pillow.readthedocs.io/en/stable/releasenotes/index.html[WEB]
- https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow[WEB]
- https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ/[WEB]
- https://github.com/advisories/GHSA-7534-mm45-c74v[ADVISORY]