<?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 git</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2025:20855-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2025-10-09T14:25:15Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2025-10-09T14:25:15Z</InitialReleaseDate>
    <CurrentReleaseDate>2025-10-09T14:25:15Z</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 git</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for git fixes the following issues:

Update to 2.51.0:

- CVE-2025-27613: arbitrary writable file creation and truncation in Gitk (bsc#1245938)
- CVE-2025-27614: arbitrary script execution via repo clonation in gitk (bsc#1245939)
- CVE-2025-46835: untrusted repository cloning can lead to arbitrary writable file creation in Git GUI (bsc#1245942)
- CVE-2025-48384: script may be unintentionally executed after checkout due to CRLF transforming (bsc#1245943)
- CVE-2025-48385: arbitrary code execution due to protocol injection via fetching advertised bundle (bsc#1245946)
- CVE-2025-48386: buffer overflow in static buffer 'target' in wincred credential helper (bsc#1245947)
</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">SUSE-SLE-Micro-6.1-298</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/update/announcement/2025/suse-su-202520855-1/</URL>
      <Description>Link for SUSE-SU-2025:20855-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2025-October/042323.html</URL>
      <Description>E-Mail link for SUSE-SU-2025:20855-1</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://bugzilla.suse.com/1245938</URL>
      <Description>SUSE Bug 1245938</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1245939</URL>
      <Description>SUSE Bug 1245939</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1245942</URL>
      <Description>SUSE Bug 1245942</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1245943</URL>
      <Description>SUSE Bug 1245943</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1245946</URL>
      <Description>SUSE Bug 1245946</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1245947</URL>
      <Description>SUSE Bug 1245947</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-27613/</URL>
      <Description>SUSE CVE CVE-2025-27613 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-27614/</URL>
      <Description>SUSE CVE CVE-2025-27614 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-46835/</URL>
      <Description>SUSE CVE CVE-2025-46835 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-48384/</URL>
      <Description>SUSE CVE CVE-2025-48384 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-48385/</URL>
      <Description>SUSE CVE CVE-2025-48385 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-48386/</URL>
      <Description>SUSE CVE CVE-2025-48386 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Micro 6.1">
      <Branch Type="Product Name" Name="SUSE Linux Micro 6.1">
        <FullProductName ProductID="SUSE Linux Micro 6.1" CPE="cpe:/o:suse:sl-micro:6.1">SUSE Linux Micro 6.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="git-2.51.0-slfo.1.1_1.1">
      <FullProductName ProductID="git-2.51.0-slfo.1.1_1.1">git-2.51.0-slfo.1.1_1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="git-core-2.51.0-slfo.1.1_1.1">
      <FullProductName ProductID="git-core-2.51.0-slfo.1.1_1.1">git-core-2.51.0-slfo.1.1_1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="perl-Git-2.51.0-slfo.1.1_1.1">
      <FullProductName ProductID="perl-Git-2.51.0-slfo.1.1_1.1">perl-Git-2.51.0-slfo.1.1_1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="git-2.51.0-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Micro 6.1">
      <FullProductName ProductID="SUSE Linux Micro 6.1:git-2.51.0-slfo.1.1_1.1">git-2.51.0-slfo.1.1_1.1 as a component of SUSE Linux Micro 6.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="git-core-2.51.0-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Micro 6.1">
      <FullProductName ProductID="SUSE Linux Micro 6.1:git-core-2.51.0-slfo.1.1_1.1">git-core-2.51.0-slfo.1.1_1.1 as a component of SUSE Linux Micro 6.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-Git-2.51.0-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Micro 6.1">
      <FullProductName ProductID="SUSE Linux Micro 6.1:perl-Git-2.51.0-slfo.1.1_1.1">perl-Git-2.51.0-slfo.1.1_1.1 as a component of SUSE Linux Micro 6.1</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">Gitk is a Tcl/Tk based Git history browser. Starting with 1.7.0, when a user clones an untrusted repository and runs gitk without additional command arguments, files for which the user has write permission can be created and truncated. The option Support per-file encoding must have been enabled before in Gitk's Preferences. This option is disabled by default. The same happens when Show origin of this line is used in the main window (regardless of whether Support per-file encoding is enabled or not). This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.1.</Note>
    </Notes>
    <CVE>CVE-2025-27613</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Micro 6.1:git-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:git-core-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:perl-Git-2.51.0-slfo.1.1_1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</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>https://www.suse.com/support/update/announcement/2025/suse-su-202520855-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-27613.html</URL>
        <Description>CVE-2025-27613</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1245938</URL>
        <Description>SUSE Bug 1245938</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">Gitk is a Tcl/Tk based Git history browser. Starting with 2.41.0, a Git repository can be crafted in such a way that with some social engineering a user who has cloned the repository can be tricked into running any script (e.g., Bourne shell, Perl, Python, ...) supplied by the attacker by invoking gitk filename, where filename has a particular structure. The script is run with the privileges of the user. This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.</Note>
    </Notes>
    <CVE>CVE-2025-27614</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Micro 6.1:git-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:git-core-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:perl-Git-2.51.0-slfo.1.1_1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</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>https://www.suse.com/support/update/announcement/2025/suse-su-202520855-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-27614.html</URL>
        <Description>CVE-2025-27614</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1245939</URL>
        <Description>SUSE Bug 1245939</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">Git GUI allows you to use the Git source control management tools via a GUI. When a user clones an untrusted repository and is tricked into editing a file located in a maliciously named directory in the repository, then Git GUI can create and overwrite files for which the user has write permission. This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.1.</Note>
    </Notes>
    <CVE>CVE-2025-46835</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Micro 6.1:git-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:git-core-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:perl-Git-2.51.0-slfo.1.1_1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</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>https://www.suse.com/support/update/announcement/2025/suse-su-202520855-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-46835.html</URL>
        <Description>CVE-2025-46835</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1245942</URL>
        <Description>SUSE Bug 1245942</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">Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.</Note>
    </Notes>
    <CVE>CVE-2025-48384</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Micro 6.1:git-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:git-core-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:perl-Git-2.51.0-slfo.1.1_1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</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>https://www.suse.com/support/update/announcement/2025/suse-su-202520855-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-48384.html</URL>
        <Description>CVE-2025-48384</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1245943</URL>
        <Description>SUSE Bug 1245943</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling recursive clones. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.</Note>
    </Notes>
    <CVE>CVE-2025-48385</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Micro 6.1:git-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:git-core-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:perl-Git-2.51.0-slfo.1.1_1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</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>https://www.suse.com/support/update/announcement/2025/suse-su-202520855-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-48385.html</URL>
        <Description>CVE-2025-48385</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1245946</URL>
        <Description>SUSE Bug 1245946</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.</Note>
    </Notes>
    <CVE>CVE-2025-48386</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Micro 6.1:git-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:git-core-2.51.0-slfo.1.1_1.1</ProductID>
        <ProductID>SUSE Linux Micro 6.1:perl-Git-2.51.0-slfo.1.1_1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</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>https://www.suse.com/support/update/announcement/2025/suse-su-202520855-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-48386.html</URL>
        <Description>CVE-2025-48386</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1245947</URL>
        <Description>SUSE Bug 1245947</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
