Out-of-bounds Read Affecting pillow package, versions [4.3.0,8.1.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.19% (58th 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-1055462
  • published5 Jan 2021
  • disclosed5 Jan 2021
  • creditEric Soroos

Introduced: 5 Jan 2021

CVE-2020-35655  (opens in a new tab)
CWE-125  (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 Read. There is a 4 byte read overflow in SGIRleDecode.c, where the code is not correctly checking the offsets and length tables.

References

CVSS Scores

version 3.1