<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202009-17">
  <title>gpsd: Arbitrary code execution</title>
  <synopsis>A vulnerability in gpsd could allow remote code execution.</synopsis>
  <product type="ebuild">gpsd</product>
  <announced>2020-09-29</announced>
  <revised count="1">2020-09-29</revised>
  <bug>743766</bug>
  <access>remote</access>
  <affected>
    <package name="sci-geosciences/gpsd" auto="yes" arch="*">
      <unaffected range="ge">3.18</unaffected>
      <vulnerable range="lt">3.18</vulnerable>
    </package>
  </affected>
  <background>
    <p>gpsd is a GPS daemon and library for USB/serial GPS devices and
      GPS/mapping clients.
    </p>
  </background>
  <description>
    <p>A stack-based buffer overflow was discovered in gpsd on port 2947/TCP or
      crafted JSON inputs.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could possibly execute arbitrary code with the
      privileges of the process, or cause a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All gpsd users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=sci-geosciences/gpsd-3.18"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2018-17937">CVE-2018-17937</uri>
  </references>
  <metadata tag="requester" timestamp="2020-09-25T20:46:53Z">sam_c</metadata>
  <metadata tag="submitter" timestamp="2020-09-29T18:06:31Z">sam_c</metadata>
</glsa>
