CVE-2024-32002
criticalpriority · attend · 56EPSS 0.292 · 98 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedphoenix_contact_psirt
Update to the latest 2024.0.6 LTS Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.5–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (62)
Public proof-of-concept and weaponised exploit code.
- 10cks/CVE-2024-32002-EXP10cks/CVE-2024-32002-EXPPoC · poc_in_github
- 10cks/CVE-2024-32002-POC10cks/CVE-2024-32002-POCPoC · poc_in_github
- 10cks/CVE-2024-32002-hulk10cks/CVE-2024-32002-hulkPoC · poc_in_github
- 10cks/CVE-2024-32002-linux-hulk10cks/CVE-2024-32002-linux-hulkPoC · poc_in_github
- 10cks/CVE-2024-32002-linux-submod10cks/CVE-2024-32002-linux-submodPoC · poc_in_github
- 10cks/CVE-2024-32002-submod10cks/CVE-2024-32002-submodPoC · poc_in_github
affected products (63)
Products and version ranges known to be affected.
advisories (5)
Vendor and ecosystem advisories describing this.
- VDE-2024-071Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware2024-12-09csaf · phoenix_contact_psirtDE
Multiple Linux component vulnerabilities fixed in latest PLCnext Firmware release 2024.0.6 LTS
- WID-SEC-W-2024-1115Microsoft Developer Tools: Mehrere SchwachstellenDeutsch2024-05-14csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Microsoft Visual Studio und Microsoft .NET Framework ausnutzen, um beliebigen Programmcode auszuführen oder einen Denial of Service Zustand herbeizuführen.
- WID-SEC-W-2024-1125git: Mehrere SchwachstellenDeutsch2024-05-14csaf · cert_bundDE
Ein entfernter, anonymer Angreifer oder ein lokaler authentifizierter Angreiferkann mehrere Schwachstellen in git ausnutzen, um beliebigen Programmcode auszuführen und und die Sicherheitsmaßnahmen zu umgehen.
- WID-SEC-W-2025-0794Juniper Junos Space: Mehrere SchwachstellenDeutsch2025-04-13csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Juniper Junos Space ausnutzen, um seine Privilegien zu erhöhen, um einen Denial of Service Zustand herbeizuführen und um andere, nicht näher spezifizierte Auswirkungen zu erzielen.
- BIT-git-2024-32002Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution2024-05-24vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-32002cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-32002/cnnvd
- https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgtcnnvd
- https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinkscnnvd
- https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991dcnnvd
- https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgvcnnvd
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-32002cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-32002cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan