PYSEC-2021-139
Dashboard / Vulnerabilities / PYSEC-2021-139
PYSEC-2021-139
Published: 2 Jun 2021Last Modified: 6 Dec 2023
Summary:
Details: An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.
References: https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28675-fix-dos-in-psdimageplugin, https://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/, https://github.com/advisories/GHSA-g6rj-rv7j-xwp4
Affected packages
Package
Name: pillow
Purl: pkg:pypi/pillow
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -8.2.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
