When using an SSH remote with the optional libssh2 backend, libgit2 does
not perform certificate checking by default. (CVE-2023-22742)
Using well-crafted inputs to git_index_add
can cause heap corruption
that could be leveraged for arbitrary code execution. (CVE-2024-24577)