summaryrefslogtreecommitdiff
blob: 9fedc00f1b280797cc014a4d572b31adaaa45efe (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201310-01">
  <title>Perl Module-Signature module: Arbitrary code execution</title>
  <synopsis>The Module-Signature module for Perl has insufficient path checks,
    allowing a remote attacker to execute arbitrary Perl code.
  </synopsis>
  <product type="ebuild">Module-Signature</product>
  <announced>2013-10-04</announced>
  <revised count="1">2013-10-04</revised>
  <bug>472428</bug>
  <access>remote</access>
  <affected>
    <package name="dev-perl/Module-Signature" auto="yes" arch="*">
      <unaffected range="ge">0.720.0</unaffected>
      <vulnerable range="lt">0.720.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>The Perl Module::Signature module adds signing capabilities to CPAN
      modules.
    </p>
  </background>
  <description>
    <p>The ‘cpansign verify’ command will automatically download keys and
      use them to check the signature of CPAN packages via the SIGNATURE file.
      If an attacker were to replace this (SHA1) with a special unknown cipher
      (e.g. ‘Special’) and were to include in the distribution a
      ‘Digest/Special.pm’, the code in this Perl module would be executed
      when ‘cpansign -verify’ is run.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could possibly execute arbitrary code with the
      privileges of the process.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All users of the Module-Signature Perl module should upgrade to the
      latest version:
    </p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose
      "&gt;=dev-perl/Module-Signature-0.720.0"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2145">CVE-2013-2145</uri>
  </references>
  <metadata tag="requester" timestamp="2013-08-21T11:15:28Z">
    pinkbyte
  </metadata>
  <metadata tag="submitter" timestamp="2013-10-04T06:56:47Z">
    pinkbyte
  </metadata>
</glsa>