<?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.38.1-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:12487</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-06-17T21:45:33Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-06-17T21:45:33Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-06-17T21:45:33Z</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.38.1-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.38.1-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-12487</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/>
      <Description>E-Mail link for openSUSE-SU-2024:12487</Description>
    </Reference>
    <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-2022-39253/</URL>
      <Description>SUSE CVE CVE-2022-39253 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-39260/</URL>
      <Description>SUSE CVE CVE-2022-39260 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.38.1-1.1">
      <FullProductName ProductID="git-2.38.1-1.1">git-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-arch-2.38.1-1.1">
      <FullProductName ProductID="git-arch-2.38.1-1.1">git-arch-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-core-2.38.1-1.1">
      <FullProductName ProductID="git-core-2.38.1-1.1">git-core-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-credential-gnome-keyring-2.38.1-1.1">
      <FullProductName ProductID="git-credential-gnome-keyring-2.38.1-1.1">git-credential-gnome-keyring-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-credential-libsecret-2.38.1-1.1">
      <FullProductName ProductID="git-credential-libsecret-2.38.1-1.1">git-credential-libsecret-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-cvs-2.38.1-1.1">
      <FullProductName ProductID="git-cvs-2.38.1-1.1">git-cvs-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-daemon-2.38.1-1.1">
      <FullProductName ProductID="git-daemon-2.38.1-1.1">git-daemon-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-doc-2.38.1-1.1">
      <FullProductName ProductID="git-doc-2.38.1-1.1">git-doc-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-email-2.38.1-1.1">
      <FullProductName ProductID="git-email-2.38.1-1.1">git-email-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-gui-2.38.1-1.1">
      <FullProductName ProductID="git-gui-2.38.1-1.1">git-gui-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-p4-2.38.1-1.1">
      <FullProductName ProductID="git-p4-2.38.1-1.1">git-p4-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-svn-2.38.1-1.1">
      <FullProductName ProductID="git-svn-2.38.1-1.1">git-svn-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-web-2.38.1-1.1">
      <FullProductName ProductID="git-web-2.38.1-1.1">git-web-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gitk-2.38.1-1.1">
      <FullProductName ProductID="gitk-2.38.1-1.1">gitk-2.38.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="perl-Git-2.38.1-1.1">
      <FullProductName ProductID="perl-Git-2.38.1-1.1">perl-Git-2.38.1-1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="git-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-2.38.1-1.1">git-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-arch-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-arch-2.38.1-1.1">git-arch-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-core-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-core-2.38.1-1.1">git-core-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-credential-gnome-keyring-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-credential-gnome-keyring-2.38.1-1.1">git-credential-gnome-keyring-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-credential-libsecret-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-credential-libsecret-2.38.1-1.1">git-credential-libsecret-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-cvs-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-cvs-2.38.1-1.1">git-cvs-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-daemon-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-daemon-2.38.1-1.1">git-daemon-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-doc-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-doc-2.38.1-1.1">git-doc-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-email-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-email-2.38.1-1.1">git-email-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-gui-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-gui-2.38.1-1.1">git-gui-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-p4-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-p4-2.38.1-1.1">git-p4-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-svn-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-svn-2.38.1-1.1">git-svn-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-web-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-web-2.38.1-1.1">git-web-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="gitk-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:gitk-2.38.1-1.1">gitk-2.38.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-Git-2.38.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:perl-Git-2.38.1-1.1">perl-Git-2.38.1-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 an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.</Note>
    </Notes>
    <CVE>CVE-2022-39253</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:git-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-arch-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-core-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-gnome-keyring-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-libsecret-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-cvs-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-daemon-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-doc-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-email-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-gui-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-p4-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-svn-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-web-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:gitk-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:perl-Git-2.38.1-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-2022-39253.html</URL>
        <Description>CVE-2022-39253</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204455</URL>
        <Description>SUSE Bug 1204455</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204456</URL>
        <Description>SUSE Bug 1204456</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 is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an `int` to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to `execv()`, it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to `git shell` as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling `git shell` access via remote logins is a viable short-term workaround.</Note>
    </Notes>
    <CVE>CVE-2022-39260</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:git-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-arch-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-core-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-gnome-keyring-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-libsecret-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-cvs-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-daemon-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-doc-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-email-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-gui-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-p4-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-svn-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-web-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:gitk-2.38.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:perl-Git-2.38.1-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-2022-39260.html</URL>
        <Description>CVE-2022-39260</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204456</URL>
        <Description>SUSE Bug 1204456</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
