<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202008-03">
  <title>Ark: Arbitrary code execution</title>
  <synopsis>Ark was found to allow arbitrary file overwrite, possibly allowing
    arbitrary code execution.
  </synopsis>
  <product type="ebuild">ark</product>
  <announced>2020-08-08</announced>
  <revised count="1">2020-08-08</revised>
  <bug>734622</bug>
  <access>remote</access>
  <affected>
    <package name="kde-apps/ark" auto="yes" arch="*">
      <unaffected range="ge">20.04.3-r1</unaffected>
      <vulnerable range="lt">20.04.3-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>Ark is a graphical file compression/decompression utility with support
      for multiple formats.
    </p>
  </background>
  <description>
    <p>A maliciously crafted archive with “../” in the file path(s) could
      install files anywhere in the user’s home directory upon extraction.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted
      archive using Ark, possibly resulting in execution of arbitrary code with
      the privileges of the process or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>Avoid opening untrusted archives.</p>
  </workaround>
  <resolution>
    <p>All Ark users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=kde-apps/ark-20.04.3-r1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-16116">CVE-2020-16116</uri>
  </references>
  <metadata tag="requester" timestamp="2020-08-08T02:42:50Z">sam_c</metadata>
  <metadata tag="submitter" timestamp="2020-08-08T04:18:09Z">sam_c</metadata>
</glsa>
