<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE3-SA-2025-0040</id>
    <title>An update for git is now available for HCE 3.0</title>
    <severity>Important</severity>
    <release>HCE 3.0</release>
    <issued date="2025-10-09 06:38:14"/>
    <updated date="2025-10-09 06:38:14"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-46334" id="CVE-2025-46334" title="CVE-2025-46334 Base Score: 8.6 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-48384" id="CVE-2025-48384" title="CVE-2025-48384 Base Score: 8.0 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-46835" id="CVE-2025-46835" title="CVE-2025-46835 Base Score: 8.5 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-27613" id="CVE-2025-27613" title="CVE-2025-27613 Base Score: 3.6 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-50349" id="CVE-2024-50349" title="CVE-2024-50349 Base Score: 3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-48386" id="CVE-2025-48386" title="CVE-2025-48386 Base Score: 6.3 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-27614" id="CVE-2025-27614" title="CVE-2025-27614 Base Score: 8.6 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-52005" id="CVE-2024-52005" title="CVE-2024-52005 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-52006" id="CVE-2024-52006" title="CVE-2024-52006 Base Score: 4.3 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-48385" id="CVE-2025-48385" title="CVE-2025-48385 Base Score: 8.3 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

Git GUI allows you to use the Git source control management tools via a GUI. A malicious repository can ship versions of sh.exe or typical textconv filter programs such as astextplain. Due to the unfortunate design of Tcl on Windows, the search path when looking for an executable always includes the current directory. The mentioned programs are invoked when the user selects Git Bash or Browse Files from the menu. 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. (CVE-2025-46334)

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. (CVE-2025-48384)

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. (CVE-2025-46835)

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_x27;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. (CVE-2025-27613)

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 Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contain ANSI escape sequences that the terminal interpret to confuse users e.g. into providing passwords for trusted Git hosting sites when in fact they are then sent to untrusted sites that are under the attacker_x27;s control. This issue has been patch via commits `7725b81` and `c903985` which are included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones. (CVE-2024-50349)

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. (CVE-2025-48386)

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. (CVE-2025-27614)

Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called &quot;sideband channel&quot;. These messages will be prefixed with &quot;remote:&quot; and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources. (CVE-2024-52005)

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. Git defines a line-based protocol that is used to exchange information between Git and Git credential helpers. Some ecosystems (most notably, .NET and node.js) interpret single Carriage Return characters as newlines, which renders the protections against CVE-2020-5260 incomplete for credential helpers that treat Carriage Returns in this way. This issue has been addressed in commit `b01b9b8` which is included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones. (CVE-2024-52006)

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. (CVE-2025-48385)
</description>
    <pkglist>
      <collection short="HCE 3.0" package="git">
        <name>HCE 3.0</name>
        <package arch="noarch" name="gitk" version="2.43.0" release="6.r3.hce3">
          <filename>gitk-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="git" version="2.43.0" release="6.r3.hce3">
          <filename>git-2.43.0-6.r3.hce3.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="git-core" version="2.43.0" release="6.r3.hce3">
          <filename>git-core-2.43.0-6.r3.hce3.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="git-daemon" version="2.43.0" release="6.r3.hce3">
          <filename>git-daemon-2.43.0-6.r3.hce3.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="git-email" version="2.43.0" release="6.r3.hce3">
          <filename>git-email-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-gui" version="2.43.0" release="6.r3.hce3">
          <filename>git-gui-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-help" version="2.43.0" release="6.r3.hce3">
          <filename>git-help-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-svn" version="2.43.0" release="6.r3.hce3">
          <filename>git-svn-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-web" version="2.43.0" release="6.r3.hce3">
          <filename>git-web-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="perl-Git" version="2.43.0" release="6.r3.hce3">
          <filename>perl-Git-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="perl-Git-SVN" version="2.43.0" release="6.r3.hce3">
          <filename>perl-Git-SVN-2.43.0-6.r3.hce3.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="git" version="2.43.0" release="6.r3.hce3">
          <filename>git-2.43.0-6.r3.hce3.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="git-core" version="2.43.0" release="6.r3.hce3">
          <filename>git-core-2.43.0-6.r3.hce3.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="git-daemon" version="2.43.0" release="6.r3.hce3">
          <filename>git-daemon-2.43.0-6.r3.hce3.aarch64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
