<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201604-04">
  <title>libksba: Multiple vulnerabilities</title>
  <synopsis>Multiple vulnerabilities have been found in libksba, allowing a
    possible Denial of Service and unspecified other vectors through integer
    overflows.
  </synopsis>
  <product type="ebuild">libksba</product>
  <announced>2016-04-26</announced>
  <revised count="1">2016-04-26</revised>
  <bug>546464</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/libksba" auto="yes" arch="*">
      <unaffected range="ge">1.3.3</unaffected>
      <vulnerable range="lt">1.3.3</vulnerable>
    </package>
  </affected>
  <background>
    <p>Libksba is a X.509 and CMS (PKCS#7) library.</p>
  </background>
  <description>
    <p>libksba is vulnerable to two integer overflows and a Denial of Service
      vulnerability.  Please read the references for additional details.
    </p>
  </description>
  <impact type="normal">
    <p>Remote attackers could cause Denial of Service or unspecified other
      vectors through various integer overflows.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All libksba users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-libs/libksba-1.3.3"
    </code>
    
  </resolution>
  <references>
    <uri link="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commit;h=07116a314f4dcd4d96990bbd74db95a03a9f650a">
      Denial of Service due to stack overflow in src/ber-decoder.c
    </uri>
    <uri link="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commit;h=aea7b6032865740478ca4b706850a5217f1c3887">
      Integer overflow in the BER decoder src/ber-decoder.c
    </uri>
    <uri link="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commit;h=243d12fdec66a4360fbb3e307a046b39b5b4ffc3">
      Integer overflow in the DN decoder src/dn.c
    </uri>
  </references>
  <metadata tag="requester" timestamp="2015-07-06T04:35:16Z">
    BlueKnight
  </metadata>
  <metadata tag="submitter" timestamp="2016-04-26T21:22:11Z">b-man</metadata>
</glsa>
