Gentoo Archives: gentoo-announce

From: Sean Amoss <ackle@g.o>
To: gentoo-announce@g.o
Subject: [gentoo-announce] [ GLSA 201206-17 ] virtualenv: Insecure temporary file usage
Date: Fri, 22 Jun 2012 16:58:55
Message-Id: 4FE4A2F0.1050605@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201206-17
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: virtualenv: Insecure temporary file usage
9 Date: June 22, 2012
10 Bugs: #395285
11 ID: 201206-17
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An insecure temporary file usage has been reported in virtualenv,
19 possibly allowing symlink attacks.
20
21 Background
22 ==========
23
24 virtualenv is a virtual Python environment builder.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-python/virtualenv < 1.5.1 >= 1.5.1
33
34 Description
35 ===========
36
37 The virtualenv.py script in virtualenv does not handle temporary files
38 securely.
39
40 Impact
41 ======
42
43 A local attacker could perform symlink attacks to overwrite arbitrary
44 files with the privileges of the user running the application.
45
46 Workaround
47 ==========
48
49 There is no known workaround at this time.
50
51 Resolution
52 ==========
53
54 All virtualenv users should upgrade to the latest version:
55
56 # emerge --sync
57 # emerge --ask --oneshot --verbose ">=dev-python/virtualenv-1.5.1"
58
59 References
60 ==========
61
62 [ 1 ] CVE-2011-4617
63 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4617
64
65 Availability
66 ============
67
68 This GLSA and any updates to it are available for viewing at
69 the Gentoo Security Website:
70
71 http://security.gentoo.org/glsa/glsa-201206-17.xml
72
73 Concerns?
74 =========
75
76 Security is a primary focus of Gentoo Linux and ensuring the
77 confidentiality and security of our users' machines is of utmost
78 importance to us. Any security concerns should be addressed to
79 security@g.o or alternatively, you may file a bug at
80 https://bugs.gentoo.org.
81
82 License
83 =======
84
85 Copyright 2012 Gentoo Foundation, Inc; referenced text
86 belongs to its owner(s).
87
88 The contents of this document are licensed under the
89 Creative Commons - Attribution / Share Alike license.
90
91 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature