Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 500956 (CVE-2014-1932)

Summary: dev-python/imaging: insecure temporary file handling/creation (CVE-2014-{1932,1933})
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED DUPLICATE    
Severity: minor CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.openwall.com/lists/oss-security/2014/02/10/15
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2014-02-11 08:45:19 UTC
From ${URL} :

* Python Imaging Library:
https://bugs.debian.org/737059
Note that we have two slightly different kinds of problems here:
1) in IptcImagePlugin.py and Image.py there's tempfile.mktemp() followed 
by open() in the same subprocess;
2) in JpegImagePlugin.py and EpsImagePlugin.py, temporary file name 
generated by tempfile.mktemp() is passed to an external process.
The latter kind is much easier to exploit, at least on some systems, 
because commandlines are not secret.


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Sean Amoss (RETIRED) gentoo-dev Security 2014-12-14 22:39:17 UTC
See the note in the duplicate bug for the explanation.

*** This bug has been marked as a duplicate of bug 507982 ***