V
Scaner-VS
HomeCatalogSourcesCWECAPECATT&CKMitigationsProductsVendorsDocs
CVE-2024-32002
ANC
CriticalConfirmedExploit available

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 submodule…

CVSS
9.0
Critical
EPSS
0.23
p97
Published
2024-01-01
Updated
2024-01-01
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.

Tags · CWE
Pre-authFile upload
CWE-22
CWE-434
CAPEC-1
CAPEC-64
CAPEC-76
CAPEC-78
CAPEC-79
CAPEC-126
Affected products
GitGitGitGitGitGitGitGitGitGitGitGitGitGitGitGitGitGitGit
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Timeline
2024-01-01
Published
2024-01-01
Updated
CVSS 3.1 breakdown
Attack Vector
AV: N
Network (N)
Attack Complexity
AC: H
High (H)
Privileges Required
PR: N
None (N)
User Interaction
UI: N
None (N)
Scope
S: C
Changed (C)
Confidentiality Impact
C: H
High (H)
Integrity Impact
I: H
High (H)
Availability Impact
A: H
High (H)
Exploit indicators
EPSS
0.225 · p97
Known exploited (KEV)
No
MITRE ATT&CK
Inferred via CAPEC
Known exploits — Сканер-ВС
CVE-2024-32002
github-poc · https://github.com/ControlO8/CVE-2024-32002-hook
Enterprise
Affected products
ProductVendorStatus
Tracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
gitTracked
Showing first 20 of 21
Source databases
ANC
AST
DEB
CVE
RED
UBU
Related vulnerabilities