CVE-2024-32002

Scores

EPSS

0.804high80.4%
0%20%40%60%80%100%

Percentile: 80.4%

CVSS

9.0critical3.x
0246810

CVSS Score: 9.0/10

All CVSS Scores

CVSS 3.x
9.0

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

anchore_overridesastradebiannvdredhatubuntu

CWEs

434CWE-22CWE-59

Related Vulnerabilities

Exploits

Exploit ID: CVE-2024-32002

Source: github-poc

URL: https://github.com/ControlO8/CVE-2024-32002-hook

Vulnerable Software (36)

Type: Configuration

Operating System:

Trait:
{  "children": [    {      "cpe_match": [        {          "cpe23uri": "cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*",          "versionEndExcluding": "2.45.1",          "versionStartIncluding": "2.4...

Source: anchore_overrides

Type: Configuration

Product: git

Operating System: altlinux

Trait:
{  "fixed": "0:2.42.2-alt1"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.43.5-1.el8_10"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.27.0-5.el8_4"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.27.0-5.el8_4"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.27.0-5.el8_4"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.31.8-3.el8_6"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.31.8-3.el8_6"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.31.8-3.el8_6"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.39.5-1.el8_8"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.43.5-1.el9_4"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.31.1-6.el9_0"}

Source: redhat

Type: Configuration

Product: git

Operating System: rhel

Trait:
{  "fixed": "2.39.5-1.el9_2"}

Source: redhat

Type: Configuration

Product: git

Operating System: astra 1.7.6.11

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: git

Operating System: astra 4.7.6.9

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: git

Operating System: ubuntu focal 20.04

Trait:
{  "fixed": "1:2.25.1-1ubuntu3.13"}

Source: ubuntu

Type: Configuration

Product: git

Operating System: ubuntu jammy 22.04

Trait:
{  "fixed": "1:2.34.1-1ubuntu1.11"}

Source: ubuntu

Type: Configuration

Product: git

Operating System: ubuntu mantic 23.10

Trait:
{  "fixed": "1:2.40.1-1ubuntu1.1"}

Source: ubuntu

Type: Configuration

Product: git

Operating System: ubuntu noble 24.04

Trait:
{  "fixed": "1:2.43.0-1ubuntu7.1"}

Source: ubuntu

Type: Configuration

Product: git

Operating System: debian

Trait:
{  "fixed": "1:2.45.1-1"}

Source: debian