CVE-2024-32002: critical vulnerability in git
Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Keep watching. It has a public proof of concept.
Git can be tricked into writing files to wrong locations during submodule cloning on case-insensitive filesystems with symlink support, allowing attackers to execute malicious code automatically before the user can review it.
CVE-2024-32002 exploits path traversal (CWE-22) and arbitrary file upload (CWE-434) vulnerabilities in Git's submodule handling. A crafted repository with malicious submodules can cause Git to write files into `.git/` directories instead of intended worktree paths, enabling execution of hooks during active clone operations. Attack requires cloning from attacker-controlled repo on case-insensitive filesystems with symlink support enabled.
In the same product, most dangerous first.