Arbitrary Code Execution Affecting pillow Open this link in a new tab package, versions [,9.0.0)


0.0
critical
  • Attack Complexity

    Low

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

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-2331901

  • published

    9 Jan 2022

  • disclosed

    9 Jan 2022

  • credit

    Unknown

How to fix?

Upgrade Pillow to version 9.0.0 or higher.

Overview

Pillow is a PIL (Python Imaging Library) fork.

Affected versions of this package are vulnerable to Arbitrary Code Execution via PIL.ImageMath.eval which allows evaluation of arbitrary expressions, such as ones that use the Python exec method.