Unchecked Return Value Affecting pillow package, versions [,8.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PILLOW-2371726
  • published26 Jan 2022
  • disclosed2 Jun 2021
  • creditUnknown

Introduced: 2 Jun 2021

CVE-2021-28675  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade pillow to version 8.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Unchecked Return Value. 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.

CVSS Base Scores

version 3.1