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

Security update for git

Published Feb 3, 2025 · Updated Mar 23, 2026

Summary

This update for git fixes the following issues:

git was updated to 2.45.1:

* CVE-2024-32002: recursive clones on case-insensitive
filesystems that support symbolic links are susceptible to case
confusion (bsc#1224168)
* CVE-2024-32004: arbitrary code execution during local clones
(bsc#1224170)
* CVE-2024-32020: 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: arbitrary code execution during clone operations
(bsc#1224173)

Update to 2.45.0:

* Improved efficiency managing repositories with many references
("git init --ref-format=reftable")
* "git checkout -p" and friends learned that that "@" is a
synonym for "HEAD"
* cli improvements handling refs
* Expanded a number of commands and options, UI improvements
* status.showUntrackedFiles now accepts "true"
* git-cherry-pick(1) now automatically drops redundant commits
with new --empty option
* The userdiff patterns for C# has been updated.

Update to 2.44.0:

* "git checkout -B <branch>" now longer allows switching to a
branch that is in use on another worktree. The users need to
use "--ignore-other-worktrees" option.
* Faster server-side rebases with git replay
* Faster pack generation with multi-pack reuse
* rebase auto-squashing now works in non-interactive mode
* pathspec now understands attr, e.g. ':(attr:~binary) for
selecting non-binaries, or builtin_objectmode for selecting
items by file mode or other properties
* Many other cli UI and internal improvements and extensions

- Do not replace apparmor configuration, fixes bsc#1216545

Update to 2.43.2:

* https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.43.2.txt
* Update to a new feature recently added, "git show-ref --exists".
* Rename detection logic ignored the final line of a file if it
is an incomplete line.
* "git diff --no-rename A B" did not disable rename detection but
did not trigger an error from the command line parser.
* "git diff --no-index file1 file2" segfaulted while invoking the
external diff driver, which has been corrected.
* A failed "git tag -s" did not necessarily result in an error
depending on the crypto backend, which has been corrected.
* "git stash" sometimes was silent even when it failed due to
unwritable index file, which has been corrected.
* Recent conversion to allow more than 0/1 in GIT_FLUSH broke the
mechanism by flipping what yes/no means by mistake, which has
been corrected.

Update to 2.43.1:

* https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.43.1.txt

- gitweb AppArmor profile: allow reading etc/gitweb-common.conf
(bsc#1218664)

- git moved to /usr/libexec/git/git, update AppArmor profile
accordingly (bsc#1218588)

Update to 2.43.0:

* The "--rfc" option of "git format-patch" used to be a valid way to
override an earlier "--subject-prefix=<something>" on the command
line and replace it with "[RFC PATCH]", but from this release, it
merely prefixes the string "RFC " in front of the given subject
prefix. If you are negatively affected by this change, please use
"--subject-prefix=PATCH --rfc" as a replacement.
* In Git 2.42, "git rev-list --stdin" learned to take non-revisions
(like "--not") from the standard input, but the way such a "--not" was
handled was quite confusing, which has been rethought. The updated
rule is that "--not" given from the command line only affects revs
given from the command line that comes but not revs read from the
standard input, and "--not" read from the standard input affects
revs given from the standard input and not revs given from the
command line.
* A message written in olden time prevented a branch from getting
checked out, saying it is already checked out elsewhere. But these
days, we treat a branch that is being bisected or rebased just like
a branch that is checked out and protect it from getting modified
with the same codepath. The message has been rephrased to say that
the branch is "in use" to avoid confusion.
* Hourly and other schedules of "git maintenance" jobs are randomly
distributed now.
* "git cmd -h" learned to signal which options can be negated by
listing such options like "--[no-]opt".
* The way authentication related data other than passwords (e.g.,
oauth token and password expiration data) are stored in libsecret
keyrings has been rethought.
* Update the libsecret and wincred credential helpers to correctly
match which credential to erase; they erased the wrong entry in
some cases.
* Git GUI updates.
* "git format-patch" learned a new "--description-file" option that
lets cover letter description to be fed; this can be used on
detached HEAD where there is no branch description available, and
also can override the branch description if there is one.
* Use of the "--max-pack-size" option to allow multiple packfiles to
be created is now supported even when we are sending unreachable
objects to cruft packs.
* "git format-patch --rfc --subject-prefix=<foo>" used to ignore the
"--subject-prefix" option and used "[RFC PATCH]"; now we will add
"RFC" prefix to whatever subject prefix is specified.
* "git log --format" has been taught the %(decorate) placeholder for
further customization over what the "--decorate" option offers.
* The default log message created by "git revert", when reverting a
commit that records a revert, has been tweaked, to encourage people
to describe complex "revert of revert of revert" situations better in
their own words.
* The command-line completion support (in contrib/) learned to
complete "git commit --trailer=" for possible trailer keys.
* "git update-index" learned the "--show-index-version" option to
inspect the index format version used by the on-di

Fixed packages 1

ReleasePackageFixed in
SUSE · SLE Micro 6.0 Linux Micro 6.0 git 2.45.1-1.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 …

  • Medium 5.9

    SHA-1 is not collision resistant, which makes it easier for context-dependent attackers to conduct spoofing attacks, as…

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

  • Unscored —
    CVE-2017-14867 EPSS 36%

    Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsa…

References

  • report
    https://bugzilla.suse.com/1042640
  • report
    https://bugzilla.suse.com/1061041
  • report
    https://bugzilla.suse.com/1069468
  • report
    https://bugzilla.suse.com/1082023
  • report
    https://bugzilla.suse.com/1216545
  • report
    https://bugzilla.suse.com/1218588
  • report
    https://bugzilla.suse.com/1218664
  • 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/779536
  • web
    https://www.suse.com/security/cve/CVE-2005-4900
  • web
    https://www.suse.com/security/cve/CVE-2017-14867
  • 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