summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-201310-17.xml
blob: b23f8ae10e67ca6ea4a2a4d3697c59957c2a7c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201310-17">
  <title>pmake: Insecure temporary file usage</title>
  <synopsis>pmake uses temporary files in an insecure manner, allowing for
    symlink attacks.
  </synopsis>
  <product type="ebuild">pmake</product>
  <announced>2013-10-28</announced>
  <revised count="2">2013-10-28</revised>
  <bug>367891</bug>
  <access>local</access>
  <affected>
    <package name="sys-devel/pmake" auto="yes" arch="*">
      <unaffected range="ge">1.111.3.1</unaffected>
      <vulnerable range="lt">1.111.3.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>pmake is Debian’s version of NetBSD’s make, a tool to build programs
      in parallel.
    </p>
  </background>
  <description>
    <p>/usr/share/mk/bsd.lib.mk and /usr/share/mk/bsd.prog.mk create temporary
      files insecurely, with predictable names (/tmp/_depend[PID]), and
      without using $TMPDIR.
    </p>
  </description>
  <impact type="low">
    <p>The make include files allow local users to overwrite arbitrary files
      via a symlink attack.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All pmake users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=sys-devel/pmake-1.111.3.1"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1920">CVE-2011-1920</uri>
  </references>
  <metadata tag="requester" timestamp="2011-10-08T22:19:21Z">craig</metadata>
  <metadata tag="submitter" timestamp="2013-10-28T11:31:35Z">craig</metadata>
</glsa>