CVE-2014-1932

python-imaging: insecure temporary file creation

Published Apr 17, 2014 CVSS 2.0 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3) load function in IptcImagePlugin.py, and (4) _copy function in Image.py in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 do not properly create temporary files, which allow local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on the temporary file.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2014-0041 The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3) load function in IptcImagePlugin.py, and (4) _copy function in Image.py in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 do not properly create temporary files, which allow local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on the temporary file.
Github GHSA Github GHSA GHSA-x895-2wrm-hvp7 PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles
Ubuntu USN Ubuntu USN USN-2168-1 Python Imaging Library vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00128}

epss

{'score': 0.00133}

Weaknesses
  • CWE-377

    Insecure Temporary File

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 9:58 AM
Reserved
Feb 10, 2014, 12:00 AM
Status
Modified
Published
Apr 17, 2014, 2:55 PM
Modified
Jun 17, 2026, 12:05 AM
Severity
Low
Public date
Jan 29, 2014, 12:00 AM