The http_connect function in transports/http.c in libgit2 before 0.24.6 and 0.25.x before 0.25.1 might allow man-in-the-middle attackers to spoof servers by leveraging clobbering of the error variable.
{ "binaries": [ { "binary_version": "0.19.0-2ubuntu0.4+esm1", "binary_name": "libgit2-0" }, { "binary_version": "0.19.0-2ubuntu0.4+esm1", "binary_name": "libgit2-dev" } ] }
{ "binaries": [ { "binary_version": "0.24.1-2ubuntu0.2+esm2", "binary_name": "libgit2-24" }, { "binary_version": "0.24.1-2ubuntu0.2+esm2", "binary_name": "libgit2-dev" } ] }