CVE-2024-32021

Severity: Important
Published: 2024-05-14

Fix Status by Distribution

Fixed in 16 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-28 05:03 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
AlmaLinux 10
Oracle Linux 10
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Rocky Linux 10
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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 same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning will be used, which include attempting to hard link the object files instead of copying them. While the code includes checks against symbolic links in the source repository, which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check, and then a symlink during the operation, this will allow the adversary to bypass the check and create hardlinks in the destination objects directory to arbitrary, user-readable files. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4.

Exploit evidence

Public proof of concept reported

Last checked: 2026-07-31 19:06 UTC

  • Proof of concept · CISA Coordinator (Assessed 2024-06-11 20:29 UTC)

  • Exploit reference · af854a3a-2127-422b-91ae-364da2661108 · View external evidence (Observed 2026-07-31 19:06 UTC)

NVD evidence for CVE-2024-32021 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.