GHSA-4fx9-vc88-q2xc
Infinite loop in Pillow
En bref
- Publiée
- Mise à jour
Description
JpegImagePlugin may append an EOF marker to the end of a truncated file, so that the last segment of the data will still be processed by the decoder. If the EOF marker is not detected as such however, this could lead to an infinite loop where JpegImagePlugin keeps trying to end the file.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · pillow | introduced 0, fixed 9.0.0 |
Références
- https://github.com/python-pillow/Pillow/commit/baae9ec4b67c68e3adaf1208cf54e8de5e38a6fd WEB
- https://github.com/python-pillow/Pillow PACKAGE
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#ensure-jpegimageplugin-stops-at-the-end-of-a-truncated-file WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |