GHSA-4fx9-vc88-q2xc
Dashboard / Vulnerabilities / GHSA-4fx9-vc88-q2xc
GHSA-4fx9-vc88-q2xc
Published: 11 Mar 2022Last Modified: 5 Dec 2024
Summary: Infinite loop in Pillow
Details: 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.
References: https://github.com/python-pillow/Pillow/commit/baae9ec4b67c68e3adaf1208cf54e8de5e38a6fd, https://github.com/python-pillow/Pillow, https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#ensure-jpegimageplugin-stops-at-the-end-of-a-truncated-file
Affected packages
Package
Name: pillow
Purl: pkg:pypi/pillow
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -9.0.0
Affected versions
1.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
