<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201502-07">
  <title>libevent: User-assisted execution of arbitrary code</title>
  <synopsis>Multiple integer overflow errors in libevent could result in
    execution of arbitrary code or Denial of Service.
  </synopsis>
  <product type="ebuild">libevent</product>
  <announced>2015-02-07</announced>
  <revised count="1">2015-02-07</revised>
  <bug>535774</bug>
  <access>local, remote</access>
  <affected>
    <package name="dev-libs/libevent" auto="yes" arch="*">
      <unaffected range="ge">2.0.22</unaffected>
      <vulnerable range="lt">2.0.22</vulnerable>
    </package>
  </affected>
  <background>
    <p>libevent is a library to execute a function when a specific event occurs
      on a file descriptor.
    </p>
  </background>
  <description>
    <p>Multiple integer overflow errors in libevent could cause a heap-based
      buffer overflow. 
    </p>
  </description>
  <impact type="normal">
    <p>A context-dependent attacker could cause an application linked against
      libevent to pass an excessively long input through evbuffer, possibly
      resulting in execution of arbitrary code with the privileges of the
      process or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All libevent users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-libs/libevent-2.0.22"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-6272">CVE-2014-6272</uri>
  </references>
  <metadata tag="requester" timestamp="2015-01-17T19:27:12Z">ackle</metadata>
  <metadata tag="submitter" timestamp="2015-02-07T20:31:58Z">ackle</metadata>
</glsa>
