Skip to content
OpenAdvisories
Critical USN-6793-1 5 CVEs

git vulnerabilities

Published May 28, 2024 · Updated Feb 10, 2026

Summary

It was discovered that Git incorrectly handled certain submodules.
An attacker could possibly use this issue to execute arbitrary code.
This issue was fixed in Ubuntu 22.04 LTS, Ubuntu 23.10 and Ubuntu 24.04 LTS.
(CVE-2024-32002)

It was discovered that Git incorrectly handled certain cloned repositories.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2024-32004)

It was discovered that Git incorrectly handled local clones with hardlinked
files/directories. An attacker could possibly use this issue to place a
specialized repository on their target's local system. (CVE-2024-32020)

It was discovered that Git incorrectly handled certain symlinks. An attacker
could possibly use this issue to impact availability and integrity
creating hardlinked arbitrary files into users repository's objects/directory.
(CVE-2024-32021)

It was discovered that Git incorrectly handled certain cloned repositories.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2024-32465)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS git 1:2.25.1-1ubuntu3.12
Ubuntu · 22.04 LTS 22.04:LTS git 1:2.34.1-1ubuntu1.11
Ubuntu · 24.04 LTS 24.04:LTS git 1:2.43.0-1ubuntu7.1

Vulnerabilities 5

  • Critical 9.1
    CVE-2024-32002 Public exploit EPSS 29%

    Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution

    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'…

  • High 8.2
    CVE-2024-32004 Public exploit

    Git vulnerable to Remote Code Execution while cloning special-crafted local repositories

    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, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem has been …

  • High 7.4

    Git's protections for cloning untrusted repositories can be bypassed

    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 …

  • Low 3.9

    Cloning local Git repository by untrusted user allows the untrusted user to modify objects in the cloned repository at will

    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, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. I…

  • Low 3.9

    Local Git clone may hardlink arbitrary user-readable files into the new repository's "objects/" directory

    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, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the …

References

  • report
    https://ubuntu.com/security/CVE-2024-32002
  • report
    https://ubuntu.com/security/CVE-2024-32004
  • report
    https://ubuntu.com/security/CVE-2024-32020
  • report
    https://ubuntu.com/security/CVE-2024-32021
  • report
    https://ubuntu.com/security/CVE-2024-32465