Git 2.56.1 fixes six vulnerabilities, including RCE on recursive clone
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Git 2.56.1 fixes six vulnerabilities, with backports down to 2.50.2. GitHub's Elijah Newren describes the most serious as an integer truncation in index path handling that can allow code execution during a recursive clone of a malicious repository. The others cover path traversal via a server's advertised HEAD, memory corruption in signature stripping and large merges, a binary-patch out-of-bounds read, and fast-import file access. Update bundled copies and services that clone or merge untrusted content. Two advisories and the Enterprise Server version numbers could not be verified.