CVE Feed

    Dashboard / CVE / CVE-2024-32002

    CVE-2024-32002

    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.

    Published:May 14, 2024
    Last Modified:Nov 4, 2025
    EPS:May 14, 2024
    EPSS Score:0.79594
    CVSS Score:9.1

    Affected Products

    Vendor
    Git
    Product
    Git
    Vendor
    Redhat
    Product
    Enterprise Linux
    Vendor
    Redhat
    Product
    Rhel Aus
    Vendor
    Redhat
    Product
    Rhel E4s
    Vendor
    Redhat
    Product
    Rhel Eus
    Vendor
    Redhat
    Product
    Rhel Tus

    Exploits

    https://github.com/10cks/CVE-2024-32002-EXPhttps://github.com/10cks/CVE-2024-32002-hulkhttps://github.com/10cks/CVE-2024-32002-linux-hulkhttps://github.com/10cks/CVE-2024-32002-linux-smashhttps://github.com/10cks/CVE-2024-32002-linux-submodhttps://github.com/10cks/CVE-2024-32002-POChttps://github.com/10cks/CVE-2024-32002-smashhttps://github.com/10cks/CVE-2024-32002-submodhttps://github.com/10cks/hookhttps://github.com/1mxml/CVE-2024-32002-pochttps://github.com/431m/rcetesthttps://github.com/AD-Appledog/CVE-2024-32002https://github.com/AD-Appledog/wakuwakuhttps://github.com/aitorcastel/poc_CVE-2024-32002https://github.com/aitorcastel/poc_CVE-2024-32002_submodulehttps://github.com/amalmurali47/git_rcehttps://github.com/amalmurali47/hookhttps://github.com/ashutosh0408/CVE-2024-32002https://github.com/ashutosh0408/Cve-2024-32002-pochttps://github.com/Basyaact/CVE-2024-32002-PoC_Chinesehttps://github.com/BasyacatX/CVE-2024-32002-PoC_Chinesehttps://github.com/bfengj/CVE-2024-32002-Exploithttps://github.com/bfengj/CVE-2024-32002-hookhttps://github.com/blackninja23/CVE-2024-32002https://github.com/BohemianHacks/CVE-2024-32002-pochttps://github.com/charlesgargasson/CVE-2024-32002https://github.com/chrisWalker11/running-CVE-2024-32002-locally-for-tesinghttps://github.com/ControlO8/CVE-2024-32002https://github.com/ControlO8/CVE-2024-32002-hookhttps://github.com/CrackerCat/CVE-2024-32002_EXPhttps://github.com/daemon-reconfig/CVE-2024-32002https://github.com/DayDayDayDreaming/backup-exec-cve-32002https://github.com/DayDayDayDreaming/backup-exec-hookhttps://github.com/Dre4m017/fuzzyhttps://github.com/fadhilthomas/hookhttps://github.com/fadhilthomas/poc-cve-2024-32002https://github.com/FlojBoj/CVE-2024-32002https://github.com/Goplush/CVE-2024-32002-git-rcehttps://github.com/grecosamuel/CVE-2024-32002https://github.com/jakob-pennington/cve-2024-32002-poc-awhttps://github.com/jakob-pennington/cve-2024-32002-poc-rcehttps://github.com/jakob-pennington/cve-2024-32002-submodule-awhttps://github.com/jakob-pennington/cve-2024-32002-submodule-rcehttps://github.com/JakobTheDev/cve-2024-32002-poc-awhttps://github.com/JakobTheDev/cve-2024-32002-poc-rcehttps://github.com/JakobTheDev/cve-2024-32002-submodule-awhttps://github.com/JakobTheDev/cve-2024-32002-submodule-rcehttps://github.com/JoaoLeonello/cve-2024-32002-pochttps://github.com/jolibb55/donaldhttps://github.com/Julian-gmz/hook_CVE-2024-32002https://github.com/jweny/CVE-2024-32002_EXPhttps://github.com/jweny/CVE-2024-32002_HOOKhttps://github.com/M507/CVE-2024-32002https://github.com/markuta/CVE-2024-32002https://github.com/markuta/hookyhttps://github.com/Masamuneee/CVE-2024-32002-POChttps://github.com/Masamuneee/hookhttps://github.com/mystxcal/cve-2024-32002-demohttps://github.com/NishanthAnand21/CVE-2024-32002-PoChttps://github.com/Roronoawjd/git_rcehttps://github.com/Roronoawjd/hookhttps://github.com/safebuffer/CVE-2024-32002https://github.com/sanan2004/CVE-2024-32002https://github.com/SpycioKon/CVE-2024-32002https://github.com/srakkk/cve-2024-32002-demohttps://github.com/srakkk/cve-2024-32002-hookhttps://github.com/sysonlai/CVE-2024-32002-hookhttps://github.com/th4s1s/CVE-2024-32002-PoChttps://github.com/tobelight/cve_2024_32002https://github.com/TSY244/CVE-2024-32002-git-rcehttps://github.com/TSY244/CVE-2024-32002-git-rce-father-pochttps://github.com/vincepsh/CVE-2024-32002https://github.com/vincepsh/CVE-2024-32002-hookhttps://github.com/WOOOOONG/CVE-2024-32002https://github.com/WOOOOONG/hookhttps://github.com/XiaomingX/cve-2024-32002-pochttps://github.com/YukaFake/CVE-2024-32002https://github.com/YukaFake/CVE-2024-32002-Reverse-Shell

    Related CVEs

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High