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

    Threat Intelligence

    EPSS
    0.14% (50th 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 ID SNYK-PYTHON-PILLOW-1055462
  • published 5 Jan 2021
  • disclosed 5 Jan 2021
  • credit Eric Soroos

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
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

5.4 medium
Expand this section

Red Hat

5.4 medium