Out-of-bounds Read Affecting pillow package, versions [7.1.0, 8.3.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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-1727377
  • published 1 Oct 2021
  • disclosed 1 Oct 2021
  • credit Unknown

Introduced: 1 Oct 2021

CVE NOT AVAILABLE CWE-125 Open this link in a new tab

How to fix?

Upgrade pillow to version 8.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The previous bounds check in FilDecode.c incorrectly calculated the required read buffer size when copying a chunk, potentially reading six extra bytes off the end of the allocated buffer from the heap.

References

CVSS Scores

version 3.1
Expand this section

Snyk

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