Skip to content

x/vulndb: potential Go vuln in github.com/git/git: CVE-2024-32465 #2841

Closed
@GoVulnBot

Description

@GoVulnBot

CVE-2024-32465 references github.com/git/git, which may be a Go module.

Description:
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.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/git/git
      vulnerable_at: 2.45.1+incompatible
      packages:
        - package: git
summary: CVE-2024-32465 in github.com/git/git
cves:
    - CVE-2024-32465
references:
    - advisory: https://github.com/git/git/security/advisories/GHSA-vm9j-46j9-qvq4
    - fix: https://github.com/git/git/commit/7b70e9efb18c2cc3f219af399bd384c5801ba1d7
    - web: https://git-scm.com/docs/git#_security
    - web: https://git-scm.com/docs/git-clone
source:
    id: CVE-2024-32465

Metadata

Metadata

Assignees

No one assigned

    Labels

    excluded: NOT_GO_CODEThis vulnerability does not refer to a Go module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions