<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202003-30">
  <title>Git: Multiple vulnerabilities</title>
  <synopsis>Multiple vulnerabilities have been found in Git, the worst of which
    could result in the arbitrary execution of code.
  </synopsis>
  <product type="ebuild">git</product>
  <announced>2020-03-15</announced>
  <revised count="2">2020-03-20</revised>
  <bug>702296</bug>
  <access>local, remote</access>
  <affected>
    <package name="dev-vcs/git" auto="yes" arch="*">
      <unaffected range="rge">2.21.1</unaffected>
      <unaffected range="rge">2.23.1-r1</unaffected>
      <unaffected range="rge">2.24.1</unaffected>
      <vulnerable range="lt">2.24.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>Git is a free and open source distributed version control system
      designed to handle everything from small to very large projects with
      speed and efficiency.
    </p>
  </background>
  <description>
    <p>Multiple vulnerabilities have been discovered in Git. Please review the
      CVE identifiers referenced below for details.
    </p>
  </description>
  <impact type="normal">
    <p>An attacker could possibly overwrite arbitrary paths, execute arbitrary
      code, and overwrite files in the .git directory.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Git 2.21.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-vcs/git-2.21.1"
    </code>
    
    <p>All Git 2.23.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-vcs/git-2.23.1-r1"
    </code>
    
    <p>All Git 2.24.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-vcs/git-2.24.1"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1348">CVE-2019-1348</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1349">CVE-2019-1349</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1350">CVE-2019-1350</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1351">CVE-2019-1351</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1352">CVE-2019-1352</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1353">CVE-2019-1353</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1354">CVE-2019-1354</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-1387">CVE-2019-1387</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-19604">CVE-2019-19604</uri>
  </references>
  <metadata tag="requester" timestamp="2020-03-15T16:52:27Z">whissi</metadata>
  <metadata tag="submitter" timestamp="2020-03-20T21:00:47Z">whissi</metadata>
</glsa>
