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.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://pillow.readthedocs.io/en/stable/releasenotes/index.html | release notes vendor advisory |
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow | release notes vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html | third party advisory mailing list |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ/ | vendor advisory |
https://security.gentoo.org/glsa/202211-10 | third party advisory vendor advisory |