summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-201711-04.xml
blob: c1d40fab847126af63338d050d2c6cc6e055b049 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201711-04">
  <title>MariaDB, MySQL: Root privilege escalation</title>
  <synopsis>A vulnerability was discovered in MariaDB and MySQL which may allow
    local users to gain root privileges.
  </synopsis>
  <product type="ebuild">mariadb,mysql</product>
  <announced>2017-11-10</announced>
  <revised count="1">2017-11-10</revised>
  <bug>635704</bug>
  <bug>635706</bug>
  <access>remote</access>
  <affected>
    <package name="dev-db/mariadb" auto="yes" arch="*">
      <unaffected range="ge">10.0.30-r1</unaffected>
      <vulnerable range="lt">10.0.30-r1</vulnerable>
    </package>
    <package name="dev-db/mysql" auto="yes" arch="*">
      <unaffected range="ge">5.6.36-r1</unaffected>
      <vulnerable range="lt">5.6.36-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>MySQL is a popular multi-threaded, multi-user SQL server. MariaDB is an
      enhanced, drop-in replacement for MySQL.
    </p>
  </background>
  <description>
    <p>The Gentoo installation scripts before 2017-09-29 have chown calls for
      user-writable directory trees, which allows local users to gain
      privileges by leveraging access to the mysql account for creation of a
      link.
    </p>
  </description>
  <impact type="normal">
    <p>A local attacker could escalate privileges to root.</p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All MariaDB users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/mariadb-10.0.30-r1"
    </code>
    
    <p>All MySQL users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/mysql-5.6.36-r1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-15945">
      CVE-2017-15945
    </uri>
  </references>
  <metadata tag="requester" timestamp="2017-10-28T18:23:53Z">whissi</metadata>
  <metadata tag="submitter" timestamp="2017-11-10T22:46:58Z">b-man</metadata>
</glsa>