{"id":"UBUNTU-CVE-2016-10130","details":"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.","modified":"2025-09-08T16:43:58Z","published":"2017-03-24T15:59:00Z","upstream":["CVE-2016-10130"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-10130"},{"type":"REPORT","url":"https://github.com/libgit2/libgit2/commit/9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-10130"}],"affected":[{"package":{"name":"libgit2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libgit2@0.19.0-2ubuntu0.4+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.0-2","0.19.0-2ubuntu0.4","0.19.0-2ubuntu0.4+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgit2-0","binary_version":"0.19.0-2ubuntu0.4+esm1"},{"binary_name":"libgit2-dev","binary_version":"0.19.0-2ubuntu0.4+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-10130.json"}},{"package":{"name":"libgit2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libgit2@0.24.1-2ubuntu0.2+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.2-2","0.23.1-1","0.24.1-2","0.24.1-2ubuntu0.2","0.24.1-2ubuntu0.2+esm1","0.24.1-2ubuntu0.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libgit2-24","binary_version":"0.24.1-2ubuntu0.2+esm2"},{"binary_name":"libgit2-dev","binary_version":"0.24.1-2ubuntu0.2+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-10130.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}