Skip to content
OpenAdvisories
Critical SUSE-SU-2025:0197-1 7 CVEs

Security update for git

Published Jan 21, 2025 · Updated Feb 4, 2026

Summary

This update for git fixes the following issues:

- CVE-2024-32002: Fix recursive clones on case-insensitive filesystems that support symbolic links are susceptible to case confusion. (bsc#1224168)
- CVE-2024-32004: Fixed arbitrary code execution during local clones. (bsc#1224170)
- CVE-2024-32020: Fix file overwriting vulnerability during local clones. (bsc#1224171)
- CVE-2024-32021: Git may create hardlinks to arbitrary user-readable files. (bsc#1224172)
- CVE-2024-32465: Fixed arbitrary code execution during clone operations. (bsc#1224173)
- CVE-2024-50349: Passwords for trusted sites could be sent to untrusted sites (bsc#1235600).
- CVE-2024-52006: Carriage Returns via the credential protocol to credential helpers (bsc#1235601).

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5-LTSS git 2.26.2-27.78.1
SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 git 2.26.2-27.78.1

Vulnerabilities 7

  • Critical 9.1
    CVE-2024-32002 Public exploit EPSS 29%

    Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution

    Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule'…

  • High 8.2
    CVE-2024-32004 Public exploit

    Git vulnerable to Remote Code Execution while cloning special-crafted local repositories

    Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem has been …

  • High 7.4

    Git's protections for cloning untrusted repositories can be bypassed

    Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an …

  • Low 3.9

    Cloning local Git repository by untrusted user allows the untrusted user to modify objects in the cloned repository at will

    Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. I…

  • Low 3.9

    Local Git clone may hardlink arbitrary user-readable files into the new repository's "objects/" directory

    Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the …

  • Low 2.1

    Git does not sanitize URLs when asking for credentials interactively

    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 helpe…

  • Low 2.1

    Newline confusion in credential helpers can lead to credential exfiltration in git

    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 c…

References

  • report
    https://bugzilla.suse.com/1224168
  • report
    https://bugzilla.suse.com/1224170
  • report
    https://bugzilla.suse.com/1224171
  • report
    https://bugzilla.suse.com/1224172
  • report
    https://bugzilla.suse.com/1224173
  • report
    https://bugzilla.suse.com/1235600
  • report
    https://bugzilla.suse.com/1235601
  • web
    https://www.suse.com/security/cve/CVE-2024-32002
  • web
    https://www.suse.com/security/cve/CVE-2024-32004
  • web
    https://www.suse.com/security/cve/CVE-2024-32020
  • web
    https://www.suse.com/security/cve/CVE-2024-32021
  • web
    https://www.suse.com/security/cve/CVE-2024-32465
  • web
    https://www.suse.com/security/cve/CVE-2024-50349
  • web
    https://www.suse.com/security/cve/CVE-2024-52006