<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201612-07">
  <title>dpkg: Arbitrary code execution</title>
  <synopsis>A vulnerability was discovered in dpkg which could potentially lead
    to arbitrary code execution.
  </synopsis>
  <product type="ebuild">dpkg</product>
  <announced>2016-12-04</announced>
  <revised count="1">2016-12-04</revised>
  <bug>567258</bug>
  <access>local, remote</access>
  <affected>
    <package name="app-arch/dpkg" auto="yes" arch="*">
      <unaffected range="ge">1.17.26</unaffected>
      <vulnerable range="lt">1.17.26</vulnerable>
    </package>
  </affected>
  <background>
    <p>Debian package management system.</p>
  </background>
  <description>
    <p>Gentoo Linux developer, Hanno Böck, discovered an off-by-one error in
      the dpkg-deb component of dpkg, the Debian package management system,
      which triggers a stack-based buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>An attacker could potentially execute arbitrary code if an user or an
      automated system were tricked into processing a specially crafted Debian
      binary package (.deb).
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All dpkg users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-arch/dpkg-1.17.26"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-0860">CVE-2015-0860</uri>
  </references>
  <metadata tag="requester" timestamp="2016-02-25T07:05:41Z">
    BlueKnight
  </metadata>
  <metadata tag="submitter" timestamp="2016-12-04T11:01:29Z">whissi</metadata>
</glsa>
