summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-200501-38.xml
blob: 07aa368e6075f0349e294f791136b362e8276040 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200501-38">
  <title>Perl: rmtree and DBI tmpfile vulnerabilities</title>
  <synopsis>
    The Perl DBI library and File::Path::rmtree function are vulnerable to
    symlink attacks.
  </synopsis>
  <product type="ebuild">Perl</product>
  <announced>2005-01-26</announced>
  <revised count="03">2005-03-15</revised>
  <bug>75696</bug>
  <bug>78634</bug>
  <bug>79685</bug>
  <access>local</access>
  <affected>
    <package name="dev-perl/DBI" auto="yes" arch="*">
      <unaffected range="rge">1.37-r1</unaffected>
      <unaffected range="ge">1.38-r1</unaffected>
      <vulnerable range="le">1.38</vulnerable>
    </package>
    <package name="dev-lang/perl" auto="yes" arch="*">
      <unaffected range="ge">5.8.6-r4</unaffected>
      <unaffected range="rge">5.8.5-r5</unaffected>
      <unaffected range="rge">5.8.4-r4</unaffected>
      <unaffected range="rge">5.8.2-r4</unaffected>
      <vulnerable range="le">5.8.6-r3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Perl is a cross platform programming language. The DBI is the standard
    database interface module for Perl.
    </p>
  </background>
  <description>
    <p>
    Javier Fernandez-Sanguino Pena discovered that the DBI library creates
    temporary files in an insecure, predictable way (CAN-2005-0077). Paul
    Szabo found out that "File::Path::rmtree" is vulnerable to various race
    conditions (CAN-2004-0452, CAN-2005-0448).
    </p>
  </description>
  <impact type="normal">
    <p>
    A local attacker could create symbolic links in the temporary files
    directory that point to a valid file somewhere on the filesystem. When
    the DBI library or File::Path::rmtree is executed, this could be used
    to overwrite or remove files with the rights of the user calling these
    functions.
    </p>
  </impact>
  <workaround>
    <p>
    There are no known workarounds at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Perl users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose dev-lang/perl</code>
    <p>
    All DBI library users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose dev-perl/DBI</code>
  </resolution>
  <references>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0452">CAN-2004-0452</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0077">CAN-2005-0077</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0448">CAN-2005-0448</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-01-26T15:06:53Z">
    DerCorny
  </metadata>
  <metadata tag="bugReady" timestamp="2005-01-26T20:14:36Z">
    koon
  </metadata>
</glsa>