CVE-2014-1932
published 2014-04-17CVE-2014-1932: The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3) load function in IptcImagePlugin.py, and (4) _copy…
PriorityP416medium4.4CVSS 2.0
AVLACMAuNCPIPAP
EPSS
0.49%
39.4th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pillow | < pillow 2.4.0-1 (bookworm) | pillow 2.4.0-1 (bookworm) |
| python | pillow | <= 2.3.0 | — |
| python | pillow | — | — |
| python | pillow | >= 0 < 2.4.0-1 | 2.4.0-1 |
| python | pillow | >= 0 < 2.4.0-1 | 2.4.0-1 |
| python | pillow | >= 0 < 2.4.0-1 | 2.4.0-1 |
| python | pillow | >= 0 < 2.4.0-1 | 2.4.0-1 |
| python | pillow | >= 0 < 2.5.0 | 2.5.0 |
| python | pillow | >= 0 < 2.3.1 | 2.3.1 |
| pythonware | python_imaging_library | <= 1.1.7 | — |
CVSS provenance
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
ghsa4.4MEDIUM
osv4.4MEDIUM
vendor_debian4.4LOW
vendor_redhat4.4MEDIUM
vendor_ubuntu4.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Pillow command injection
osv·2022-05-17·CVSS 4.4
CVE-2014-3007 [MEDIUM] Pillow command injection
Pillow command injection
Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.5.0 might allow remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors related to CVE-2014-1932, possibly JpegImagePlugin.py.
OSV
PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles
osv·2022-05-17
CVE-2014-1932 [HIGH] PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles
PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles
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.
GHSA
PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles
ghsa·2022-05-17
CVE-2014-1932 [HIGH] CWE-59 PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles
PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles
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.
GHSA
Pillow command injection
ghsa·2022-05-17·CVSS 4.4
CVE-2014-3007 [MEDIUM] CWE-78 Pillow command injection
Pillow command injection
Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.5.0 might allow remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors related to CVE-2014-1932, possibly JpegImagePlugin.py.
OSV
CVE-2014-3007: Python Image Library (PIL) 1
osv·2014-04-27·CVSS 4.4
CVE-2014-3007 [MEDIUM] CVE-2014-3007: Python Image Library (PIL) 1
Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors related to CVE-2014-1932, possibly JpegImagePlugin.py.
OSV
CVE-2014-1932: The (1) load_djpeg function in JpegImagePlugin
osv·2014-04-17·CVSS 4.4
CVE-2014-1932 [MEDIUM] CVE-2014-1932: The (1) load_djpeg function in JpegImagePlugin
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.
Ubuntu
Python Imaging Library vulnerabilities
vendor_ubuntu·2014-04-15·CVSS 4.4
CVE-2014-1932 [MEDIUM] Python Imaging Library vulnerabilities
Title: Python Imaging Library vulnerabilities
Summary: Python Imaging Library could be made to overwrite or expose files.
Jakub Wilk discovered that the Python Imaging Library incorrectly handled
temporary files. A local attacker could possibly use this issue to
overwrite arbitrary files, or gain access to temporary file contents.
(CVE-2014-1932, CVE-2014-1933)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
python-imaging: insecure temporary file creation
vendor_redhat·2014-01-29·CVSS 4.4
CVE-2014-1932 [MEDIUM] CWE-377 python-imaging: insecure temporary file creation
python-imaging: insecure temporary file creation
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.
Package: python-imaging (Red Hat Enterprise Linux 5) - Will not fix
Package: python-imaging (Red Hat Enterprise Linux 6) - Will not fix
Package: python-pillow (Red Hat Enterprise Linux 7) - Will not fix
Red Hat
python-imaging: command injection issue
vendor_redhat·2014-01-29·CVSS 4.4
CVE-2014-3007 [MEDIUM] CWE-78 python-imaging: command injection issue
python-imaging: command injection issue
Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors related to CVE-2014-1932, possibly JpegImagePlugin.py.
Package: python-imaging (Red Hat Enterprise Linux 5) - Will not fix
Package: python-imaging (Red Hat Enterprise Linux 6) - Will not fix
Package: python-pillow (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2014-3007: pillow - Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote a...
vendor_debian·2014·CVSS 4.4
CVE-2014-3007 [MEDIUM] CVE-2014-3007: pillow - Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote a...
Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors related to CVE-2014-1932, possibly JpegImagePlugin.py.
Scope: local
bookworm: resolved (fixed in 2.4.0-1)
bullseye: resolved (fixed in 2.4.0-1)
forky: resolved (fixed in 2.4.0-1)
sid: resolved (fixed in 2.4.0-1)
trixie: resolved (fixed in 2.4.0-1)
Debian
CVE-2014-1932: pillow - The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in E...
vendor_debian·2014·CVSS 4.4
CVE-2014-1932 [MEDIUM] CVE-2014-1932: pillow - The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in E...
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.
Scope: local
bookworm: resolved (fixed in 2.4.0-1)
bullseye: resolved (fixed in 2.4.0-1)
forky: resolved (fixed in 2.4.0-1)
sid: resolved (fixed in 2.4.0-1)
trixie: resolved (fixed in 2.4.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2014-3007 python-pillow: python-pillow, python-imaging: command injection issue [fedora-all]
bugzilla·2014-11-12·CVSS 10.0
CVE-2014-3007 [CRITICAL] CVE-2014-3007 python-pillow: python-pillow, python-imaging: command injection issue [fedora-all]
CVE-2014-3007 python-pillow: python-pillow, python-imaging: command injection issue [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple sup
Bugzilla
CVE-2014-3007 python-pillow, python-imaging: command injection issue
bugzilla·2014-05-05·CVSS 4.4
CVE-2014-3007 [MEDIUM] CVE-2014-3007 python-pillow, python-imaging: command injection issue
CVE-2014-3007 python-pillow, python-imaging: command injection issue
Common Vulnerabilities and Exposures assigned an identifier CVE-2014-3007 to
the following vulnerability:
Name: CVE-2014-3007
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3007
Assigned: 20140427
Reference: http://people.canonical.com/~ubuntu-security/cve/2014/CVE-2014-1932.html
Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059
Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might
allow remote attackers to execute arbitrary commands via shell
metacharacters in unspecified vectors related to CVE-2014-1932,
possibly JpegImagePlugin.py.
This may be fixed via the CVE-2014-1932 fix (note the addition of quotes in the os.system() call in https://github.com/python-imaging/Pillow/co
Bugzilla
CVE-2014-1933 CVE-2014-1932 python-pillow: various flaws [fedora-all]
bugzilla·2014-04-22·CVSS 4.4
CVE-2014-1933 [MEDIUM] CVE-2014-1933 CVE-2014-1932 python-pillow: various flaws [fedora-all]
CVE-2014-1933 CVE-2014-1932 python-pillow: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects mul
Bugzilla
CVE-2014-1932 python26-imaging: python-imaging: insecure temporary file creation [epel-5]
bugzilla·2014-02-11·CVSS 4.4
CVE-2014-1932 [MEDIUM] CVE-2014-1932 python26-imaging: python-imaging: insecure temporary file creation [epel-5]
CVE-2014-1932 python26-imaging: python-imaging: insecure temporary file creation [epel-5]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
epel-5 tra
Bugzilla
CVE-2014-1932 python-pillow, python-imaging: insecure temporary file creation
bugzilla·2014-02-11·CVSS 4.4
CVE-2014-1932 [MEDIUM] CVE-2014-1932 python-pillow, python-imaging: insecure temporary file creation
CVE-2014-1932 python-pillow, python-imaging: insecure temporary file creation
Jakub Wilk discovered that temporary files were insecurely created (via mktemp()) in the IptcImagePlugin.py, Image.py, JpegImagePlugin.py, and EpsImagePlugin.py files of Python Imaging Library. A local attacker could use this flaw to perform a symbolic link attack to modify an arbitrary file accessible to the user running an application that uses the Python Imaging Library.
Further details are available in the original report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059
Discussion:
Created python26-imaging tracking bugs for this issue:
Affects: epel-5 [bug 1063662]
---
Related: CVE-2014-1933 / bug 1063660
---
python-pillow is also affected:
https://github.com/python-imaging/Pillow/commit/4e
Bugzilla
CVE-2014-1933 python-pillow, python-imaging: temporary file name exposure in process list
bugzilla·2014-02-11·CVSS 4.4
CVE-2014-1933 [MEDIUM] CVE-2014-1933 python-pillow, python-imaging: temporary file name exposure in process list
CVE-2014-1933 python-pillow, python-imaging: temporary file name exposure in process list
Jakub Wilk discovered that temporary files created in the JpegImagePlugin.py and EpsImagePlugin.py files of the Python Imaging Library were passed to an external process. These could be viewed on the command line, allowing an attacker to obtain the name and possibly perform symbolic link attacks, allowing them to modify an arbitrary file accessible to the user running an application that uses the Python Imaging Library.
Further details are available in the original report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059
Discussion:
Created python26-imaging tracking bugs for this issue:
Affects: epel-5 [bug 1063663]
---
Related: CVE-2014-1932 / bug 1063658
---
python-pillow is also af
http://lists.opensuse.org/opensuse-updates/2014-05/msg00002.htmlhttp://www.openwall.com/lists/oss-security/2014/02/11/1http://www.securityfocus.com/bid/65511http://www.ubuntu.com/usn/USN-2168-1https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059https://github.com/python-imaging/Pillow/commit/4e9f367dfd3f04c8f5d23f7f759ec12782e10ee7https://security.gentoo.org/glsa/201612-52http://lists.opensuse.org/opensuse-updates/2014-05/msg00002.htmlhttp://www.openwall.com/lists/oss-security/2014/02/11/1http://www.securityfocus.com/bid/65511http://www.ubuntu.com/usn/USN-2168-1https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059https://github.com/python-imaging/Pillow/commit/4e9f367dfd3f04c8f5d23f7f759ec12782e10ee7https://security.gentoo.org/glsa/201612-52
2014-04-17
Published