You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions up to (excluding) 2.39.4
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.40.0 up to (excluding) 2.40.2
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.42.0 up to (excluding) 2.42.2
*cpe:2.3:a:git-scm:git:2.41.0:*:*:*:*:*:*:*
*cpe:2.3:a:git-scm:git:2.44.0:*:*:*:*:*:*:*
*cpe:2.3:a:git-scm:git:2.45.0:*:*:*:*:*:*:*
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.43.0 up to (excluding) 2.43.4
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Added
Reference Type
CVE: http://www.openwall.com/lists/oss-security/2024/05/14/2 Types: Mailing List, Third Party Advisory
CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html Types: Mailing List, Third Party Advisory
Added
Reference Type
CVE: https://lists.debian.org/debian-lts-announce/2024/09/msg00009.html Types: Mailing List, Third Party Advisory
Added
Reference Type
CVE: https://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/ Types: Mailing List, Third Party Advisory
Added
Reference Type
GitHub, Inc.: http://www.openwall.com/lists/oss-security/2024/05/14/2 Types: Mailing List, Third Party Advisory
GitHub, Inc.: https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html Types: Mailing List, Third Party Advisory
Added
Reference Type
GitHub, Inc.: https://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/ Types: Mailing List, Third Party Advisory
GitHub, Inc. https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html [No types assigned]
CVE Modified by GitHub, Inc.6/10/2024 2:15:32 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. http://www.openwall.com/lists/oss-security/2024/05/14/2 [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/ [No types assigned]
New CVE Received from GitHub, Inc.5/14/2024 4:15:13 PM
Action
Type
Old Value
New Value
Added
Description
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.
Added
CVSS V3.1
GitHub, Inc. AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L
Added
CWE
GitHub, Inc. CWE-547
Added
Reference
GitHub, Inc. https://github.com/git/git/security/advisories/GHSA-mvxm-9j2h-qjx7 [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-32021 NVD
Published Date: 05/14/2024 NVD
Last Modified: 01/05/2026
Source: GitHub, Inc.