9.1

CVE-2024-32002: git Path Traversal

CVSS: 9.1v3.1CriticalModified
AliasesALPINE-CVE-2024-32002UBUNTU-CVE-2024-32002USN-6793-2
Published 14-05-2024Last modified 04-11-2025

Vulnerability summary

CVE-2024-32002 is a critical (CVSS 9.1) Path Traversal vulnerability in git. EPSS estimates a 29.23% chance of exploitation in the next 30 days, higher than 98.1% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
29.23%
0%100%
High · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 20 · Related 11

Timeline

  1. 14-05-2024
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

29.23%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

0.00 pp

From 29.23% on 18-09-2026

18-09-202618-10-2026
EPSS score
29.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • git≥ 2.40.0, < 2.39.5-r0 | ≥ 2.40.0, < 2.40.3-r0 | ≥ 2.40.0, < 2.43.4-r0 | ≥ 2.40.0, < 2.45.1-r0
Chainguard1 product
  • git< 2.45.1-r0
Debian1 product
  • git< 1:2.39.5-0+deb12u1 | < 1:2.45.1-1
Git1 product
  • git= 2.45.0 | = 2.44.0 | = 2.41.0 | < 2.39.4 | ≥ 2.40.0, < 2.40.2 | ≥ 2.42.0, < 2.42.2 | ≥ 2.43.0, < 2.43.4 | 2.41.0 | 2.44.0 | 2.45.0
Ubuntu1 product
  • git< 1:2.17.1-1ubuntu0.18+esm1 | < 1:2.34.1-1ubuntu1.11 | < 1:2.43.0-1ubuntu7.1 | < 1:2.25.1-1ubuntu3.13
Wolfi1 product
  • git< 2.45.1-r0

6 vendors · 6 products

References

17 links
Show all 17 references