<?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">git-2.39.2-1.1 on GA media</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2024:12698-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-06-15T00:00:00Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-06-15T00:00:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-06-15T00:00:00Z</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">git-2.39.2-1.1 on GA media</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">These are all security issues fixed in the git-2.39.2-1.1 package on the GA media of openSUSE Tumbleweed.</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>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-Tumbleweed-2024-12698</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>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-22490/</URL>
      <Description>SUSE CVE CVE-2023-22490 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-23946/</URL>
      <Description>SUSE CVE CVE-2023-23946 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Tumbleweed">
      <Branch Type="Product Name" Name="openSUSE Tumbleweed">
        <FullProductName ProductID="openSUSE Tumbleweed" CPE="cpe:/o:opensuse:tumbleweed">openSUSE Tumbleweed</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="git-2.39.2-1.1">
      <FullProductName ProductID="git-2.39.2-1.1">git-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-arch-2.39.2-1.1">
      <FullProductName ProductID="git-arch-2.39.2-1.1">git-arch-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-core-2.39.2-1.1">
      <FullProductName ProductID="git-core-2.39.2-1.1">git-core-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-credential-gnome-keyring-2.39.2-1.1">
      <FullProductName ProductID="git-credential-gnome-keyring-2.39.2-1.1">git-credential-gnome-keyring-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-credential-libsecret-2.39.2-1.1">
      <FullProductName ProductID="git-credential-libsecret-2.39.2-1.1">git-credential-libsecret-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-cvs-2.39.2-1.1">
      <FullProductName ProductID="git-cvs-2.39.2-1.1">git-cvs-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-daemon-2.39.2-1.1">
      <FullProductName ProductID="git-daemon-2.39.2-1.1">git-daemon-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-doc-2.39.2-1.1">
      <FullProductName ProductID="git-doc-2.39.2-1.1">git-doc-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-email-2.39.2-1.1">
      <FullProductName ProductID="git-email-2.39.2-1.1">git-email-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-gui-2.39.2-1.1">
      <FullProductName ProductID="git-gui-2.39.2-1.1">git-gui-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-p4-2.39.2-1.1">
      <FullProductName ProductID="git-p4-2.39.2-1.1">git-p4-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-svn-2.39.2-1.1">
      <FullProductName ProductID="git-svn-2.39.2-1.1">git-svn-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-web-2.39.2-1.1">
      <FullProductName ProductID="git-web-2.39.2-1.1">git-web-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gitk-2.39.2-1.1">
      <FullProductName ProductID="gitk-2.39.2-1.1">gitk-2.39.2-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="perl-Git-2.39.2-1.1">
      <FullProductName ProductID="perl-Git-2.39.2-1.1">perl-Git-2.39.2-1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="git-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-2.39.2-1.1">git-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-arch-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-arch-2.39.2-1.1">git-arch-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-core-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-core-2.39.2-1.1">git-core-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-credential-gnome-keyring-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-credential-gnome-keyring-2.39.2-1.1">git-credential-gnome-keyring-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-credential-libsecret-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-credential-libsecret-2.39.2-1.1">git-credential-libsecret-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-cvs-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-cvs-2.39.2-1.1">git-cvs-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-daemon-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-daemon-2.39.2-1.1">git-daemon-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-doc-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-doc-2.39.2-1.1">git-doc-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-email-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-email-2.39.2-1.1">git-email-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-gui-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-gui-2.39.2-1.1">git-gui-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-p4-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-p4-2.39.2-1.1">git-p4-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-svn-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-svn-2.39.2-1.1">git-svn-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-web-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-web-2.39.2-1.1">git-web-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="gitk-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:gitk-2.39.2-1.1">gitk-2.39.2-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-Git-2.39.2-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:perl-Git-2.39.2-1.1">perl-Git-2.39.2-1.1 as a component of openSUSE Tumbleweed</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">Git is a revision control system. Using a specially-crafted repository, Git prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8 can be tricked into using its local clone optimization even when using a non-local transport. Though Git will abort local clones whose source `$GIT_DIR/objects` directory contains symbolic links, the `objects` directory itself may still be a symbolic link. These two may be combined to include arbitrary files based on known paths on the victim's filesystem within the malicious repository's working copy, allowing for data exfiltration in a similar manner as CVE-2022-39253.

A fix has been prepared and will appear in v2.39.2 v2.38.4 v2.37.6 v2.36.5 v2.35.7 v2.34.7 v2.33.7 v2.32.6, v2.31.7 and v2.30.8. If upgrading is impractical, two short-term workarounds are available. Avoid cloning repositories from untrusted sources with `--recurse-submodules`. Instead, consider cloning repositories without recursively cloning their submodules, and instead run `git submodule update` at each layer. Before doing so, inspect each new `.gitmodules` file to ensure that it does not contain suspicious module URLs.</Note>
    </Notes>
    <CVE>CVE-2023-22490</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:git-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-arch-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-core-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-gnome-keyring-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-libsecret-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-cvs-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-daemon-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-doc-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-email-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-gui-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-p4-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-svn-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-web-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:gitk-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:perl-Git-2.39.2-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-22490.html</URL>
        <Description>CVE-2023-22490</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1208027</URL>
        <Description>SUSE Bug 1208027</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">Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workaround, use `git apply --stat` to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.</Note>
    </Notes>
    <CVE>CVE-2023-23946</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:git-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-arch-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-core-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-gnome-keyring-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-libsecret-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-cvs-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-daemon-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-doc-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-email-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-gui-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-p4-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-svn-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-web-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:gitk-2.39.2-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:perl-Git-2.39.2-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-23946.html</URL>
        <Description>CVE-2023-23946</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1208028</URL>
        <Description>SUSE Bug 1208028</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
