You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-202107-11.xml

48 lines
1.6 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?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 users 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>