<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for libgit2</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2018:2502-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-08-24T19:02:09Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-08-24T19:02:09Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-08-24T19:02:09Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for libgit2</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for libgit2 to version 0.26.5 fixes the following issues:

The following security vulnerabilities were addressed:

- CVE-2018-10887: Fixed an integer overflow which in turn leads to an out of
  bound read, allowing to read the base object, which could be exploited by
  an attacker to cause denial of service (DoS) (bsc#1100613).
- CVE-2018-10888: Fixed an out-of-bound read while reading a binary delta file,
  which could be exploited by an attacker t ocause a denial of service (DoS)
  (bsc#1100612).
- CVE-2018-11235: Fixed a remote code execution, which could occur with a
  crafted .gitmodules file (bsc#1095219)
- CVE-2018-15501: Prevent out-of-bounds reads when processing smart-protocol &amp;quot;ng&amp;quot; packets
  (bsc#1104641)

This update was imported from the SUSE:SLE-15:Update update project.</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00074.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:2502-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.0">
      <Branch Type="Product Name" Name="openSUSE Leap 15.0">
        <FullProductName ProductID="openSUSE Leap 15.0">openSUSE Leap 15.0</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libgit2-0.26.6-lp150.2.3.1">
      <FullProductName ProductID="libgit2-0.26.6-lp150.2.3.1">libgit2-0.26.6-lp150.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libgit2-26-0.26.6-lp150.2.3.1">
      <FullProductName ProductID="libgit2-26-0.26.6-lp150.2.3.1">libgit2-26-0.26.6-lp150.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libgit2-26-32bit-0.26.6-lp150.2.3.1">
      <FullProductName ProductID="libgit2-26-32bit-0.26.6-lp150.2.3.1">libgit2-26-32bit-0.26.6-lp150.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libgit2-devel-0.26.6-lp150.2.3.1">
      <FullProductName ProductID="libgit2-devel-0.26.6-lp150.2.3.1">libgit2-devel-0.26.6-lp150.2.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libgit2-0.26.6-lp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libgit2-0.26.6-lp150.2.3.1">libgit2-0.26.6-lp150.2.3.1 as a component of openSUSE Leap 15.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="libgit2-26-0.26.6-lp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libgit2-26-0.26.6-lp150.2.3.1">libgit2-26-0.26.6-lp150.2.3.1 as a component of openSUSE Leap 15.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="libgit2-26-32bit-0.26.6-lp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libgit2-26-32bit-0.26.6-lp150.2.3.1">libgit2-26-32bit-0.26.6-lp150.2.3.1 as a component of openSUSE Leap 15.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="libgit2-devel-0.26.6-lp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libgit2-devel-0.26.6-lp150.2.3.1">libgit2-devel-0.26.6-lp150.2.3.1 as a component of openSUSE Leap 15.0</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker may use this flaw to leak memory addresses or cause a Denial of Service.</Note>
    </Notes>
    <CVE>CVE-2018-10887</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libgit2-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-32bit-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-devel-0.26.6-lp150.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00074.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-10887.html</URL>
        <Description>CVE-2018-10887</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1100613</URL>
        <Description>SUSE Bug 1100613</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A flaw was found in libgit2 before version 0.27.3. A missing check in git_delta_apply function in delta.c file, may lead to an out-of-bound read while reading a binary delta file. An attacker may use this flaw to cause a Denial of Service.</Note>
    </Notes>
    <CVE>CVE-2018-10888</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libgit2-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-32bit-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-devel-0.26.6-lp150.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00074.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-10888.html</URL>
        <Description>CVE-2018-10888</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1100612</URL>
        <Description>SUSE Bug 1100612</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.</Note>
    </Notes>
    <CVE>CVE-2018-11235</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libgit2-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-32bit-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-devel-0.26.6-lp150.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00074.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-11235.html</URL>
        <Description>CVE-2018-11235</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1095219</URL>
        <Description>SUSE Bug 1095219</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol "ng" packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.</Note>
    </Notes>
    <CVE>CVE-2018-15501</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libgit2-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-26-32bit-0.26.6-lp150.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libgit2-devel-0.26.6-lp150.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00074.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-15501.html</URL>
        <Description>CVE-2018-15501</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1104641</URL>
        <Description>SUSE Bug 1104641</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
