Insufficient Verification of Data Authenticity 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.07% (35th 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-2371733
  • published26 Jan 2022
  • disclosed2 Jun 2021
  • creditUnknown

Introduced: 2 Jun 2021

CVE-2021-28678  (opens in a new tab)
CWE-345  (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 Insufficient Verification of Data Authenticity. An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.

CVSS Base Scores

version 3.1