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.

63 lines
2.3 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="201705-15">
<title>sudo: Privilege escalation</title>
<synopsis>A vulnerability in sudo allows local users to gain root privileges.</synopsis>
<product type="ebuild">sudo,privilege</product>
<announced>2017-05-30</announced>
<revised count="4">2017-10-10</revised>
<bug>620182</bug>
<access>local</access>
<affected>
<package name="app-admin/sudo" auto="yes" arch="*">
<unaffected range="ge">1.8.20_p1</unaffected>
<vulnerable range="lt">1.8.20_p1</vulnerable>
</package>
</affected>
<background>
<p>sudo (su “do”) allows a system administrator to delegate authority
to give certain users (or groups of users) the ability to run some (or
all) commands as root or another user while providing an audit trail of
the commands and their arguments.
</p>
</background>
<description>
<p>Qualys discovered a vulnerability in sudos get_process_ttyname() for
Linux, that via sudo_ttyname_scan() can be directed to use a
user-controlled, arbitrary tty device during its traversal of “/dev”
by utilizing the world-writable /dev/shm.
</p>
<p>For further information, please see the Qualys Security Advisory</p>
</description>
<impact type="high">
<p>A local attacker can pretend that his tty is any character device on the
filesystem, and after two race conditions, an attacker can pretend that
the controlled tty is any file on the filesystem allowing for privilege
escalation
</p>
</impact>
<workaround>
<p>There is no known workaround at this time.</p>
</workaround>
<resolution>
<p>All sudo users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=app-admin/sudo-1.8.20_p1"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-1000367">
CVE-2017-1000367
</uri>
<uri link="https://www.qualys.com/2017/05/30/cve-2017-1000367/cve-2017-1000367.txt">
Qualys Security Advisory for CVE-2017-1000367
</uri>
</references>
<metadata tag="requester" timestamp="2017-05-30T07:27:08Z">K_F</metadata>
<metadata tag="submitter" timestamp="2017-10-10T00:11:49Z">K_F</metadata>
</glsa>