oss-sec mailing list archives
Re: CVE request: temp file issues in python's logilab-common module
From: cve-assign () mitre org
Date: Sun, 2 Feb 2014 22:50:29 -0500 (EST)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
In logilab/common/pdf_ext.py it uses fully predictable names: lines = file('/tmp/toto.fdf').readlines() write_fields(file('/tmp/toto.fdf', 'w'), fields)
Use CVE-2014-1838.
And in logilab/common/shellutils.py: outfile = tempfile.mktemp() errfile = tempfile.mktemp() tempfile.mktemp() should be replaced with tempfile.mkstemp() as it is documented as insecure.
http://docs.python.org/2/library/tempfile.html
Use CVE-2014-1839. - -- CVE assignment team, MITRE CVE Numbering Authority M/S M300 202 Burlington Road, Bedford, MA 01730 USA [ PGP key available through http://cve.mitre.org/cve/request_id.html ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (SunOS) iQEcBAEBAgAGBQJS7xGDAAoJEKllVAevmvmsNNEIAJSprr1QxmFg9K4naoR7DpVb ZW3yoemuklcx371AQhiBcqLIau4FbJqWLEl0GAhzCNgMwT1hVEcDAYJoDxbL+GJe n+JtwXJOY8oJc4c/DODjw3E+NYMo0Rh/FHn3xNBaLl5gTbex9s3/u6E3/bCT4W6+ G4e/S4rhbd5cbibrwQEzbnwXPeQIkpcG0FZP/5/Vdripsgjm1YoTA1gXSe4leAnQ NMHDhvIyKR4BSrAKYZzx4PgC1wjQKvJsL8RHyRT0W9lr2UIiDWsdumY/R8m+AxvA eRpM9jZbbDH0K4IsSlUd/Jf0ozFXZQAPXcQxhafNf/q8LMRY9F5sb4OyIxB34bA= =lKoz -----END PGP SIGNATURE-----
Current thread:
- CVE request: temp file issues in python's logilab-common module Vincent Danen (Jan 31)
- Re: CVE request: temp file issues in python's logilab-common module cve-assign (Feb 02)