summaryrefslogtreecommitdiff
blob: dcd73edbaaec3b53e7ce5f670e662a91b2dfc3e6 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201701-28">
  <title>c-ares: Heap-based buffer overflow</title>
  <synopsis>A heap-based buffer overflow in c-ares might allow remote attackers
    to cause a Denial of Service condition.
  </synopsis>
  <product type="ebuild">c-ares</product>
  <announced>2017-01-11</announced>
  <revised count="1">2017-01-11</revised>
  <bug>595536</bug>
  <access>remote</access>
  <affected>
    <package name="net-dns/c-ares" auto="yes" arch="*">
      <unaffected range="ge">1.12.0</unaffected>
      <vulnerable range="lt">1.12.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>c-ares is a C library for asynchronous DNS requests (including name
      resolves).
    </p>
  </background>
  <description>
    <p>A hostname with an escaped trailing dot (such as “hello\.”) would
      have its size calculated incorrectly leading to a single byte written
      beyond the end of a buffer on the heap.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker, able to provide a specially crafted hostname to an
      application using c-ares, could potentially cause a Denial of Service
      condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All c-ares users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=net-dns/c-ares-1.12.0"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-5180">CVE-2016-5180</uri>
  </references>
  <metadata tag="requester" timestamp="2017-01-09T14:14:23Z">whissi</metadata>
  <metadata tag="submitter" timestamp="2017-01-11T12:29:54Z">whissi</metadata>
</glsa>