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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "0.26.0+dfsg.1-1.1build1", "binary_name": "libgit2-26" }, { "binary_version": "0.26.0+dfsg.1-1.1build1", "binary_name": "libgit2-26-dbgsym" }, { "binary_version": "0.26.0+dfsg.1-1.1build1", "binary_name": "libgit2-dev" } ] }