NA

CVE-2024-32020

Published: 14/05/2024 Updated: 14/05/2024

Vulnerability Summary

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. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local repositories will cause Git to either copy or hardlink files of the source repository into the target repository. This significantly speeds up such local clones compared to doing a "proper" clone and saves both disk space and compute time. When cloning a repository located on the same disk that is owned by a different user than the current user we also end up creating such hardlinks. These files will continue to be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the future. 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.

Vulnerability Trend

Vendor Advisories

Debian Bug report logs - #1071160 git: CVE-2024-32002 CVE-2024-32004 CVE-2024-32020 CVE-2024-32021 CVE-2024-32465 Package: src:git; Maintainer for src:git is Jonathan Nieder <jrnieder@gmailcom>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Wed, 15 May 2024 09:48:01 UTC Severity: grave Tags: security, ...
Git is a revision control system Prior to versions 2451, 2441, 2434, 2422, 2411, 2402, and 2394, 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's worktree but into a `git/` directory This allows writing a hook that will be executed w ...
Git is a revision control system Prior to versions 2451, 2441, 2434, 2422, 2411, 2402, and 2394, 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's worktree but into a `git/` directory This allows writing a hook that will be executed w ...

Mailing Lists

Team, The Git project released new security bug-fix versions today, May 14th, 2024: v2451, v2441, v2434, v2422, v2411, v2402, and v2394 The addressed issues are: * CVE-2024-32002 * (githubcom/git/git/security/advisories/GHSA-8h77-4q3w-gfgv): Recursive clones on case-insensitive filesystems that support symbolic l ...