Git Submodule Cloning Vulnerability: Remote Code Execution via CRLF Injection
A vulnerability in Git allows attackers to achieve remote code execution on Unix-like systems by crafting a malicious .gitmodules file. The vulnerability exploits inconsistencies in how carriage return (CR) and line feed (LF) characters are handled. By injecting CRLF, an attacker can modify submodule paths, causing the submodule to clone into an unexpected directory, enabling code execution. This has been patched; update Git and embedded Git versions.
Read more