<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201412-16">
  <title>CouchDB: Denial of service</title>
  <synopsis>A vulnerability in CouchDB could result in Denial of Service.</synopsis>
  <product type="ebuild">couchdb</product>
  <announced>2014-12-13</announced>
  <revised count="1">2014-12-13</revised>
  <bug>506354</bug>
  <access>remote</access>
  <affected>
    <package name="dev-db/couchdb" auto="yes" arch="*">
      <unaffected range="ge">1.5.1</unaffected>
      <vulnerable range="lt">1.5.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>Apache CouchDB is a distributed, fault-tolerant and schema-free
      document-oriented database.
    </p>
  </background>
  <description>
    <p>CouchDB does not properly sanitize the count parameter for Universally
      Unique Identifiers (UUID) requests. 
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could send a specially crafted request to CouchDB,
      possibly resulting in a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>The /_uuids handler can be disabled in local.ini with the following
      configuration:
    </p>
    
    <p>[httpd_global_handlers]
      _uuids =
    </p>
  </workaround>
  <resolution>
    <p>All CouchDB users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/couchdb-1.5.1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-2668">CVE-2014-2668</uri>
  </references>
  <metadata tag="requester" timestamp="2014-08-04T19:24:09Z">
    keytoaster
  </metadata>
  <metadata tag="submitter" timestamp="2014-12-13T17:06:39Z">ackle</metadata>
</glsa>
