CVE-2014-1932
python-imaging: insecure temporary file creation
Overview
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.
Source: OX vulnerability database
Severity
7.7 · MEDIUM
CVSS 3.1 base score, scored by GitHub.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness: CWE-59
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | pillow | <2.3.1 | 2.3.1 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +5 | wont fix |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | 2.4.0-1 |
| 12 | pillow | 2.4.0-1 |
| 13 | pillow | 2.4.0-1 |
| 14 | pillow | 2.4.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pillow | 2.4.0-1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2014-05/msg00002.html
- www.openwall.com http://www.openwall.com/lists/oss-security/2014/02/11/1
- www.securityfocus.com http://www.securityfocus.com/bid/65511
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2168-1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2014-1932
- bugs.debian.org https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2014-22.yaml
- github.com https://github.com/python-imaging/Pillow/commit/4e9f367dfd3f04c8f5d23f7f759ec12782e10ee7
- github.com https://github.com/python-pillow/Pillow
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2014-1932
Show all 14 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.