summaryrefslogtreecommitdiff
blob: 690bfee258f45ade8d8d8d0e5285fa36404e9863 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202006-20">
  <title>Asterisk: Root privilege escalation</title>
  <synopsis>A vulnerability was discovered in Asterisk which may allow local
    attackers to gain root privileges. 
  </synopsis>
  <product type="ebuild">asterisk</product>
  <announced>2020-06-15</announced>
  <revised count="1">2020-06-15</revised>
  <bug>602722</bug>
  <access>local</access>
  <affected>
    <package name="net-misc/asterisk" auto="yes" arch="*">
      <unaffected range="ge">13.32.0-r1</unaffected>
      <vulnerable range="lt">13.32.0-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>A Modular Open Source PBX System.</p>
  </background>
  <description>
    <p>It was discovered that Gentoo’s Asterisk ebuild does not properly set
      permissions on its data directories. This only affects OpenRC systems, as
      the flaw was exploitable via the init script.
    </p>
  </description>
  <impact type="high">
    <p>A local attacker could escalate privileges.</p>
  </impact>
  <workaround>
    <p>Users should ensure the proper permissions are set as discussed in the
      referenced bugs. Do not run /etc/init.d/asterisk checkperms.
    </p>
  </workaround>
  <resolution>
    <p>All Asterisk users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=net-misc/asterisk-13.32.0-r1"
    </code>
    
  </resolution>
  <references>
  </references>
  <metadata tag="requester" timestamp="2020-05-15T11:13:35Z">sam_c</metadata>
  <metadata tag="submitter" timestamp="2020-06-15T15:53:36Z">sam_c</metadata>
</glsa>