Skip to content

CVE-2024-32002

Git unrestricted file upload

9.0 CRITICALEPSS 29.2%
  1. Published14 May 2024

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 3.1 breakdown

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

Git≥ 2.40.0 < 2.40.2 · ≥ 2.42.0 < 2.42.2 · ≥ 2.43.0 < 2.43.4 · < 2.39.4

Remediation

Fixed in
Git≥ 2.40.2

Frequently asked

Is CVE-2024-32002 being actively exploited?

CVE-2024-32002 is not in the CISA KEV catalog. Its EPSS exploit probability is 29.2%.

How severe is CVE-2024-32002?

CVE-2024-32002 has a CVSS 3.1 base score of 9.0, rated critical. EPSS estimates a 29.2% probability of exploitation.

Which products are affected by CVE-2024-32002?

Affected products include Git.

How do I fix CVE-2024-32002?

Upgrade affected software to a fixed version, for example Git 2.40.2 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2024-32002 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.