summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-202107-11.xml
blob: 33c7a57948fd7dbce60b9971ac73bd35b4ba36ae (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202107-11">
  <title>OpenDoas: Insufficient environment filtering</title>
  <synopsis>A vulnerability in OpenDoas could lead to privilege escalation.</synopsis>
  <product type="ebuild">doas</product>
  <announced>2021-07-07</announced>
  <revised count="1">2021-07-07</revised>
  <bug>767781</bug>
  <access>local</access>
  <affected>
    <package name="app-admin/doas" auto="yes" arch="*">
      <unaffected range="ge">6.8.1</unaffected>
      <vulnerable range="lt">6.8.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>OpenDoas allows users to run commands as other users.</p>
  </background>
  <description>
    <p>OpenDoas does not properly filter the PATH variable from the resulting
      shell after escalating privileges.
    </p>
  </description>
  <impact type="normal">
    <p>A local attacker with control of a user’s PATH variable could escalate
      privileges if that user uses OpenDoas with a poisoned PATH variable.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All OpenDoas users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-admin/doas-6.8.1"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-25016">CVE-2019-25016</uri>
  </references>
  <metadata tag="requester" timestamp="2021-05-30T16:48:56Z">ajak</metadata>
  <metadata tag="submitter" timestamp="2021-07-07T07:59:33Z">ajak</metadata>
</glsa>