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-201701-22.xml

59 lines
2.1 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="201701-22">
<title>NGINX: Privilege escalation</title>
<synopsis>Gentoo's NGINX ebuilds are vulnerable to privilege escalation due
to the way log files are handled.
</synopsis>
<product type="ebuild">nginx</product>
<announced>2017-01-11</announced>
<revised count="1">2017-01-11</revised>
<bug>605008</bug>
<access>local</access>
<affected>
<package name="www-servers/nginx" auto="yes" arch="*">
<unaffected range="ge">1.10.2-r3</unaffected>
<vulnerable range="lt">1.10.2-r3</vulnerable>
</package>
</affected>
<background>
<p>nginx is a robust, small, and high performance HTTP and reverse proxy
server.
</p>
</background>
<description>
<p>It was discovered that Gentoos default NGINX installation applied
similar problematic permissions on “/var/log/nginx” as Debian
(DSA-3701) and is therefore vulnerable to the same attack described in
CVE-2016-1247.
</p>
</description>
<impact type="normal">
<p>A local attacker, who either is already NGINXs system user or belongs
to NGINXs group, could potentially escalate privileges.
</p>
</impact>
<workaround>
<p>Ensure that no untrusted user can create files in directories which are
used by NGINX (or an NGINX vhost) to store log files.
</p>
</workaround>
<resolution>
<p>All NGINX users should upgrade to the latest ebuild revision:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=www-servers/nginx-1.10.2-r3"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1247">CVE-2016-1247</uri>
<uri link="https://www.debian.org/security/2016/dsa-3701">DSA-3701</uri>
<uri link="https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html">
Technical analysis
</uri>
</references>
<metadata tag="requester" timestamp="2017-01-10T15:37:19Z">whissi</metadata>
<metadata tag="submitter" timestamp="2017-01-11T12:18:42Z">whissi</metadata>
</glsa>