Skip to content

CVE-2024-32465 (High) detected in gitv2.30.2 #40

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2024-32465 - High Severity Vulnerability

Vulnerable Library - gitv2.30.2

The core git plumbing

Library home page: https://git.kernel.org/pub/scm/git/git.git

Found in base branch: master

Vulnerable Source Files (1)

/builtin/upload-pack.c

Vulnerability Details

Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with git clone --no-local to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a .zip file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. 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. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources.

Publish Date: 2024-05-14

URL: CVE-2024-32465

CVSS 3 Score Details (7.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Physical
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-vm9j-46j9-qvq4

Release Date: 2024-05-14

Fix Resolution: v2.39.4,v2.40.2,v2.41.1,v2.42.2,v2.43.4,v2.44.1,v2.45.1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions