<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201404-02">
  <title>libproxy: User-assisted execution of arbitrary code</title>
  <synopsis>A buffer overflow in libproxy might allow remote attackers to
    execute arbitrary code.
  </synopsis>
  <product type="ebuild">libproxy</product>
  <announced>2014-04-07</announced>
  <revised count="1">2014-04-07</revised>
  <bug>438146</bug>
  <access>remote</access>
  <affected>
    <package name="net-libs/libproxy" auto="yes" arch="*">
      <unaffected range="ge">0.4.10</unaffected>
      <vulnerable range="lt">0.4.10</vulnerable>
    </package>
  </affected>
  <background>
    <p>libproxy is a library for automatic proxy configuration management.</p>
  </background>
  <description>
    <p>A boundary error when processing the proxy.pac file could cause a
      stack-based buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>A man-in-the-middle attacker could provide a specially crafted proxy.pac
      file on a remote server, 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 libproxy users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=net-libs/libproxy-0.4.10"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4504">CVE-2012-4504</uri>
  </references>
  <metadata tag="requester" timestamp="2012-11-26T01:36:57Z">ackle</metadata>
  <metadata tag="submitter" timestamp="2014-04-07T18:48:48Z">ackle</metadata>
</glsa>
