<?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>HCE2-SA-2025-0117</id>
    <title>An update for git is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2025-03-15 12:21:02"/>
    <updated date="2025-03-15 12:21:02"/>
    <references>
      <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-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-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"/>
    </references>
    <description>Security Fix(es):

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 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. 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)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="git">
        <name>HCE 2.0</name>
        <package arch="noarch" name="gitk" version="2.33.0" release="1.r16.hce2">
          <filename>gitk-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="git" version="2.33.0" release="1.r16.hce2">
          <filename>git-2.33.0-1.r16.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="git-daemon" version="2.33.0" release="1.r16.hce2">
          <filename>git-daemon-2.33.0-1.r16.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="git-email" version="2.33.0" release="1.r16.hce2">
          <filename>git-email-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-gui" version="2.33.0" release="1.r16.hce2">
          <filename>git-gui-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-help" version="2.33.0" release="1.r16.hce2">
          <filename>git-help-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-svn" version="2.33.0" release="1.r16.hce2">
          <filename>git-svn-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="git-web" version="2.33.0" release="1.r16.hce2">
          <filename>git-web-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="perl-Git" version="2.33.0" release="1.r16.hce2">
          <filename>perl-Git-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="perl-Git-SVN" version="2.33.0" release="1.r16.hce2">
          <filename>perl-Git-SVN-2.33.0-1.r16.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="git" version="2.33.0" release="1.r16.hce2">
          <filename>git-2.33.0-1.r16.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="git-daemon" version="2.33.0" release="1.r16.hce2">
          <filename>git-daemon-2.33.0-1.r16.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
