Symlink Attack Affecting pillow package, versions [,2.3.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (6th 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-40035
  • published 11 Feb 2014
  • disclosed 11 Feb 2014
  • credit Jakub Wilk

How to fix?

Upgrade to version 2.3.1 or greater.

Overview

Pillow is a Python Imaging Library (Fork).

Affected versions of this package are vulnerable to Symlink attacks due to insecurely creating temporary files. The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts use the names of temporary files on the command line, which makes it easier for local users to conduct symlink attacks by listing the processes.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

4 medium
Expand this section

Red Hat

4 medium