Gentoo Archives: gentoo-announce

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-announce@g.o
Subject: [gentoo-announce] [ GLSA 201310-17 ] pmake: Insecure temporary file usage
Date: Mon, 28 Oct 2013 11:50:46
Message-Id: 526E4F14.3000304@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201310-17
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Low
8 Title: pmake: Insecure temporary file usage
9 Date: October 28, 2013
10 Bugs: #367891
11 ID: 201310-17
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 pmake uses temporary files in an insecure manner, allowing for symlink
19 attacks.
20
21 Background
22 ==========
23
24 pmake is Debian's version of NetBSD's make, a tool to build programs in
25 parallel.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 sys-devel/pmake < 1.111.3.1 >= 1.111.3.1
34
35 Description
36 ===========
37
38 /usr/share/mk/bsd.lib.mk and /usr/share/mk/bsd.prog.mk create temporary
39 files insecurely, with predictable names (/tmp/_depend[PID]), and
40 without using $TMPDIR.
41
42 Impact
43 ======
44
45 The make include files allow local users to overwrite arbitrary files
46 via a symlink attack.
47
48 Workaround
49 ==========
50
51 There is no known workaround at this time.
52
53 Resolution
54 ==========
55
56 All pmake users should upgrade to the latest version:
57
58 # emerge --sync
59 # emerge --ask --oneshot --verbose ">=sys-devel/pmake-1.111.3.1"
60
61 References
62 ==========
63
64 [ 1 ] CVE-2011-1920
65 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1920
66
67 Availability
68 ============
69
70 This GLSA and any updates to it are available for viewing at
71 the Gentoo Security Website:
72
73 http://security.gentoo.org/glsa/glsa-201310-17.xml
74
75 Concerns?
76 =========
77
78 Security is a primary focus of Gentoo Linux and ensuring the
79 confidentiality and security of our users' machines is of utmost
80 importance to us. Any security concerns should be addressed to
81 security@g.o or alternatively, you may file a bug at
82 https://bugs.gentoo.org.
83
84 License
85 =======
86
87 Copyright 2013 Gentoo Foundation, Inc; referenced text
88 belongs to its owner(s).
89
90 The contents of this document are licensed under the
91 Creative Commons - Attribution / Share Alike license.
92
93 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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