9.0
CRITICAL
CVE-2024-32002
"Git Cross Git Repository Code Execution Vulnerability"
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, 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 while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. 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. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to avoid cloning repositories from untrusted sources.

INFO

Published Date :

May 14, 2024, 7:15 p.m.

Last Modified :

Nov. 21, 2024, 9:14 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2024-32002 has a 148 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-32002 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Git git

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

wy876

Python

Updated: 6 days, 19 hours ago
2 stars 1 fork 1 watcher
Born at : April 11, 2025, 4:25 a.m. This repo has been linked 209 different CVEs too.

wy876 POC | wy876的poc仓库已删库,该项目为其仓库镜像

Updated: 2 days, 21 hours ago
288 stars 180 fork 180 watcher
Born at : March 7, 2025, 10:17 a.m. This repo has been linked 201 different CVEs too.

收集整理漏洞EXP/POC,大部分漏洞来源网络,目前收集整理了1100多个poc/exp,长期更新。

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 7, 2025, 2:48 a.m. This repo has been linked 142 different CVEs too.

This repository contains a PoC for exploiting CVE-2024-32002, a vulnerability in Git that allows RCE during a git clone operation. By crafting repositories with submodules in a specific way, an attacker can exploit symlink handling on case-insensitive filesystems to write files into the .git/ directory, leading to the execution of malicious hooks.

Shell

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 6, 2025, 10:24 a.m. This repo has been linked 1 different CVEs too.

This repository contains a PoC for exploiting CVE-2024-32002, a vulnerability in Git that allows RCE during a git clone operation. By crafting repositories with submodules in a specific way, an attacker can exploit symlink handling on case-insensitive filesystems to write files into the .git/ directory, leading to the execution of malicious hooks.

Shell

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 6, 2025, 9:40 a.m. This repo has been linked 1 different CVEs too.

备份的漏洞库,3月开始我们来维护

Updated: 2 days ago
931 stars 291 fork 291 watcher
Born at : March 4, 2025, 2:54 p.m. This repo has been linked 213 different CVEs too.

None

HTML CSS

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : March 3, 2025, 2:25 p.m. This repo has been linked 49 different CVEs too.

2023HW漏洞整理,收集整理漏洞EXp/POC,大部分漏洞来源网络,目前收集整理了300多个poc/exp,长期更新。

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 3, 2025, 6:09 a.m. This repo has been linked 177 different CVEs too.

漏洞文库 wiki.wy876.cn

HTML

Updated: 2 weeks, 2 days ago
58 stars 49 fork 49 watcher
Born at : Feb. 26, 2025, 9:46 a.m. This repo has been linked 201 different CVEs too.

None

Dockerfile Python JavaScript HTML

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Feb. 16, 2025, 7:04 a.m. This repo has been linked 3 different CVEs too.

None

Shell

Updated: 3 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Jan. 18, 2025, 11:27 p.m. This repo has been linked 1 different CVEs too.

A magical repository that can upgrade your Git from 2.45.0 to 2.45.1 automatically with the Git RCE glitch.

Updated: 2 weeks, 1 day ago
16 stars 0 fork 0 watcher
Born at : Jan. 7, 2025, 3:44 a.m. This repo has been linked 1 different CVEs too.

UM a vapt sample

Updated: 3 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 4, 2025, 7:07 a.m. This repo has been linked 2 different CVEs too.

Personal pentesting notes 2

Updated: 4 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 25, 2024, 11:06 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 4 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 24, 2024, 7:53 p.m. This repo has been linked 22 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-32002 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-32002 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2024/05/14/2
    Added Reference https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d
    Added Reference https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv
    Added Reference https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt
    Added Reference https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/
  • CVE Modified by [email protected]

    Jun. 26, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html [No types assigned]
  • CVE Modified by [email protected]

    Jun. 10, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/ [No types assigned]
    Added Reference GitHub, Inc. http://www.openwall.com/lists/oss-security/2024/05/14/2 [No types assigned]
  • CVE Modified by [email protected]

    Jun. 04, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 23, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d No Types Assigned https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d Patch
    Changed Reference Type https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv No Types Assigned https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv Third Party Advisory
    Changed Reference Type https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt No Types Assigned https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt Not Applicable
    Changed Reference Type https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks No Types Assigned https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks Not Applicable
    Added CWE NIST CWE-59
    Added CPE Configuration OR *cpe:2.3:a:git:git:*:*:*:*:*:*:*:* versions up to (excluding) 2.39.4 *cpe:2.3:a:git:git:*:*:*:*:*:*:*:* versions from (including) 2.40.0 up to (excluding) 2.40.2 *cpe:2.3:a:git:git:2.41.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:*:*:*:*:*:*:*:* versions from (including) 2.42.0 up to (excluding) 2.42.2 *cpe:2.3:a:git:git:*:*:*:*:*:*:*:* versions from (including) 2.43.0 up to (excluding) 2.43.4 *cpe:2.3:a:git:git:2.44.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:2.45.0:*:*:*:*:*:*:*
  • CVE Received by [email protected]

    May. 14, 2024

    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, 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 while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. 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. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to avoid cloning repositories from untrusted sources.
    Added Reference GitHub, Inc. https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv [No types assigned]
    Added Reference GitHub, Inc. https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d [No types assigned]
    Added Reference GitHub, Inc. https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt [No types assigned]
    Added Reference GitHub, Inc. https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks [No types assigned]
    Added CWE GitHub, Inc. CWE-22
    Added CWE GitHub, Inc. CWE-434
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-32002 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 29, 2025 6:53