CVE-2024-32002

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.
Path Traversal
Link Following
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9 CRITICAL
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub_MCNA
9.1 CRITICAL
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA-ADPADP
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 98%
VendorProductVersion
gitgit
𝑥
< 2.39.4
gitgit
2.40.0 ≤
𝑥
< 2.40.2
gitgit
2.42.0 ≤
𝑥
< 2.42.2
gitgit
2.43.0 ≤
𝑥
< 2.43.4
gitgit
2.41.0
gitgit
2.44.0
gitgit
2.45.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
git
bullseye
vulnerable
bullseye (security)
1:2.30.2-1+deb11u4
fixed
bookworm
1:2.39.5-0+deb12u2
fixed
bookworm (security)
1:2.39.5-0+deb12u2
fixed
trixie
1:2.47.2-0.1
fixed
sid
1:2.49.0-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
git
noble
Fixed 1:2.43.0-1ubuntu7.1
released
mantic
Fixed 1:2.40.1-1ubuntu1.1
released
jammy
Fixed 1:2.34.1-1ubuntu1.11
released
focal
Fixed 1:2.25.1-1ubuntu3.13
released
bionic
Fixed 1:2.17.1-1ubuntu0.18+esm1
released
xenial
not-affected