Back to CVE catalog
CVE-2014-1932

Pillow and PIL improper temporary file handling

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS summary v4.0

8.5High
Published:
Updated:
EPSS:
0.496%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:pythonpillowAffected versions:
≤ 2.3.0
Vendor:pythonwarepython imaging libraryAffected versions:
≤ 1.1.7
Vendor:redhatpython-imaging
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for python-imaging
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpython-imaging-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for python-imaging-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpython-imaging-sane
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for python-imaging-sane
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpython-imaging-tk
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for python-imaging-tk
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpython-pillow
Environments (1)
  • cpe:/o:redhat:enterprise_linux:7
Affected versions:
Range not specifiedShow full version range for python-pillow
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpython-pillow-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:7
Affected versions:
Range not specifiedShow full version range for python-pillow-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpython-pillow-doc
Environments (1)
  • cpe:/o:redhat:enterprise_linux:7
Affected versions:
Range not specifiedShow full version range for python-pillow-doc
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpython-pillow-qt
Environments (1)
  • cpe:/o:redhat:enterprise_linux:7
Affected versions:
Range not specifiedShow full version range for python-pillow-qt
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 40 · Page 1 of 4

CVSS scores and metrics7
pypi · Wazuh CTI (adp)Primary8.5 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
None
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Attack requirements
None
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
pypi · Wazuh CTI (adp)7.7 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
None
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
alas · Wazuh CTI (adp)5.9 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
[email protected] · NVD (Primary)4.4 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:M/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)2.1 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)4.4 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:M/Au:N/C:P/I:P/A:P
Red Hat · Red Hat VEX (adp)2.1 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories24

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences