Out-of-bounds Write Affecting pillow package, versions [6.0.0,8.1.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.37% (74th 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-PYTHON-PILLOW-1059090
  • published12 Jan 2021
  • disclosed12 Jan 2021
  • creditUnknown

Introduced: 12 Jan 2021

CVE-2020-35654  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Pillow to version 8.1.0 or higher.

Overview

Pillow is a PIL (Python Imaging Library) fork.

Affected versions of this package are vulnerable to Out-of-bounds Write via OOB Write in TiffDecode.c when reading corrupt YCbCr files. This happens because of certain interpretation conflicts with LibTIFF in RGBA mode.

CVSS Scores

version 3.1