summaryrefslogtreecommitdiff
blob: 5c63636abb14c27ab519ce1575d393fd33d45a37 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201111-09">
  <title>Perl Safe module: Arbitrary Perl code injection</title>
  <synopsis>The Safe module for Perl does not properly restrict code, allowing
    a remote attacker to execute arbitrary Perl code outside of a restricted
    compartment.
  </synopsis>
  <product type="ebuild">Safe</product>
  <announced>2011-11-20</announced>
  <revised count="1">2011-11-20</revised>
  <bug>325563</bug>
  <access>remote</access>
  <affected>
    <package name="perl-core/Safe" auto="yes" arch="*">
      <unaffected range="ge">2.27</unaffected>
      <vulnerable range="lt">2.27</vulnerable>
    </package>
    <package name="virtual/perl-Safe" auto="yes" arch="*">
      <unaffected range="ge">2.27</unaffected>
      <vulnerable range="lt">2.27</vulnerable>
    </package>
  </affected>
  <background>
    <p>Safe is a Perl module to compile and execute code in restricted
      compartments.
    </p>
  </background>
  <description>
    <p>Unsafe code evaluation prevents the Safe module from properly
      restricting the code of implicitly called methods on implicitly blessed
      objects.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to load a specially crafted Perl
      script, resulting in execution arbitrary Perl code outside of a
      restricted compartment.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All users of the standalone Perl Safe module should upgrade to the
      latest version:
    </p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=perl-core/Safe-2.27"
    </code>
    
    <p>All users of the Safe module bundled with Perl should upgrade to the
      latest version:
    </p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=virtual/perl-Safe-2.27"
    </code>
    
    <p>NOTE: This is a legacy GLSA. Updates for all affected architectures are
      available since July 18, 2010. It is likely that your system is already
      no longer affected by this issue.
    </p>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-1168">CVE-2010-1168</uri>
  </references>
  <metadata timestamp="2011-10-07T23:37:03Z" tag="requester">
    underling
  </metadata>
  <metadata timestamp="2011-11-20T17:56:51Z" tag="submitter">ackle</metadata>
</glsa>