<?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.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:12625-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.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.39.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-12625</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-2022-23521/</URL>
      <Description>SUSE CVE CVE-2022-23521 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-41903/</URL>
      <Description>SUSE CVE CVE-2022-41903 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.1-1.1">
      <FullProductName ProductID="git-2.39.1-1.1">git-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-arch-2.39.1-1.1">
      <FullProductName ProductID="git-arch-2.39.1-1.1">git-arch-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-core-2.39.1-1.1">
      <FullProductName ProductID="git-core-2.39.1-1.1">git-core-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-credential-gnome-keyring-2.39.1-1.1">
      <FullProductName ProductID="git-credential-gnome-keyring-2.39.1-1.1">git-credential-gnome-keyring-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-credential-libsecret-2.39.1-1.1">
      <FullProductName ProductID="git-credential-libsecret-2.39.1-1.1">git-credential-libsecret-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-cvs-2.39.1-1.1">
      <FullProductName ProductID="git-cvs-2.39.1-1.1">git-cvs-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-daemon-2.39.1-1.1">
      <FullProductName ProductID="git-daemon-2.39.1-1.1">git-daemon-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-doc-2.39.1-1.1">
      <FullProductName ProductID="git-doc-2.39.1-1.1">git-doc-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-email-2.39.1-1.1">
      <FullProductName ProductID="git-email-2.39.1-1.1">git-email-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-gui-2.39.1-1.1">
      <FullProductName ProductID="git-gui-2.39.1-1.1">git-gui-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-p4-2.39.1-1.1">
      <FullProductName ProductID="git-p4-2.39.1-1.1">git-p4-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-svn-2.39.1-1.1">
      <FullProductName ProductID="git-svn-2.39.1-1.1">git-svn-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-web-2.39.1-1.1">
      <FullProductName ProductID="git-web-2.39.1-1.1">git-web-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gitk-2.39.1-1.1">
      <FullProductName ProductID="gitk-2.39.1-1.1">gitk-2.39.1-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="perl-Git-2.39.1-1.1">
      <FullProductName ProductID="perl-Git-2.39.1-1.1">perl-Git-2.39.1-1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="git-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-2.39.1-1.1">git-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-arch-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-arch-2.39.1-1.1">git-arch-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-core-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-core-2.39.1-1.1">git-core-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-credential-gnome-keyring-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-credential-gnome-keyring-2.39.1-1.1">git-credential-gnome-keyring-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-credential-libsecret-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-credential-libsecret-2.39.1-1.1">git-credential-libsecret-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-cvs-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-cvs-2.39.1-1.1">git-cvs-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-daemon-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-daemon-2.39.1-1.1">git-daemon-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-doc-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-doc-2.39.1-1.1">git-doc-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-email-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-email-2.39.1-1.1">git-email-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-gui-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-gui-2.39.1-1.1">git-gui-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-p4-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-p4-2.39.1-1.1">git-p4-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-svn-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-svn-2.39.1-1.1">git-svn-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-web-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:git-web-2.39.1-1.1">git-web-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="gitk-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:gitk-2.39.1-1.1">gitk-2.39.1-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-Git-2.39.1-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:perl-Git-2.39.1-1.1">perl-Git-2.39.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 distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `.gitattributes` file to the repository, which contains a set of file patterns and the attributes that should be set for paths matching this pattern. When parsing gitattributes, multiple integer overflows can occur when there is a huge number of path patterns, a huge number of attributes for a single pattern, or when the declared attribute names are huge. These overflows can be triggered via a crafted `.gitattributes` file that may be part of the commit history. Git silently splits lines longer than 2KB when parsing gitattributes from a file, but not when parsing them from the index. Consequentially, the failure mode depends on whether the file exists in the working tree, the index or both. This integer overflow can result in arbitrary heap reads and writes, which may result in remote code execution. The problem has been patched in the versions published on 2023-01-17, going back to v2.30.7. Users are advised to upgrade. There are no known workarounds for this issue.</Note>
    </Notes>
    <CVE>CVE-2022-23521</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:git-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-arch-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-core-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-gnome-keyring-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-libsecret-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-cvs-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-daemon-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-doc-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-email-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-gui-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-p4-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-svn-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-web-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:gitk-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:perl-Git-2.39.1-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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-23521.html</URL>
        <Description>CVE-2022-23521</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1207032</URL>
        <Description>SUSE Bug 1207032</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1207033</URL>
        <Description>SUSE Bug 1207033</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1208650</URL>
        <Description>SUSE Bug 1208650</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1209317</URL>
        <Description>SUSE Bug 1209317</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 distributed revision control system. `git log` can display commits in an arbitrary format using its `--format` specifiers. This functionality is also exposed to `git archive` via the `export-subst` gitattribute. When processing the padding operators, there is a integer overflow in `pretty.c::format_and_pad_commit()` where a `size_t` is stored improperly as an `int`, and then added as an offset to a `memcpy()`. This overflow can be triggered directly by a user running a command which invokes the commit formatting machinery (e.g., `git log --format=...`). It may also be triggered indirectly through git archive via the export-subst mechanism, which expands format specifiers inside of files within the repository during a git archive. This integer overflow can result in arbitrary heap writes, which may result in arbitrary code execution. The problem has been patched in the versions published on 2023-01-17, going back to v2.30.7. Users are advised to upgrade. Users who are unable to upgrade should disable `git archive` in untrusted repositories. If you expose git archive via `git daemon`, disable it by running `git config --global daemon.uploadArch false`.</Note>
    </Notes>
    <CVE>CVE-2022-41903</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:git-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-arch-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-core-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-gnome-keyring-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-credential-libsecret-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-cvs-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-daemon-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-doc-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-email-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-gui-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-p4-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-svn-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:git-web-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:gitk-2.39.1-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:perl-Git-2.39.1-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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-41903.html</URL>
        <Description>CVE-2022-41903</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1207032</URL>
        <Description>SUSE Bug 1207032</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1207033</URL>
        <Description>SUSE Bug 1207033</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1208650</URL>
        <Description>SUSE Bug 1208650</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
