{"id":"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":"2026-04-11T03:36:55.416115Z","published":"2017-03-24T15:59:00.263Z","related":["SUSE-SU-2017:0433-1","openSUSE-SU-2017:0405-1","openSUSE-SU-2024:10943-1"],"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/95359"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00036.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00030.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00072.html"},{"type":"FIX","url":"https://libgit2.github.com/security/"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2017/01/11/6"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2017/01/10/5"},{"type":"FIX","url":"https://github.com/libgit2/libgit2/commit/9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22"},{"type":"FIX","url":"https://github.com/libgit2/libgit2/commit/b5c6a1b407b7f8b952bded2789593b68b1876211"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libgit2/libgit2","events":[{"introduced":"0"},{"last_affected":"428e18f8d4765b8ad6cf4022080a81ab16f6fdc4"},{"introduced":"0"},{"last_affected":"75db289a041b1f1084768244e167b953ac7eeaa5"},{"introduced":"0"},{"last_affected":"a6763ff93aed9a1486c4f84d77151ff57dd4795e"},{"introduced":"0"},{"last_affected":"75db289a041b1f1084768244e167b953ac7eeaa5"},{"fixed":"9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22"},{"fixed":"b5c6a1b407b7f8b952bded2789593b68b1876211"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.24.5"},{"introduced":"0"},{"last_affected":"0.25.0"},{"introduced":"0"},{"last_affected":"0.25.0-rc1"},{"introduced":"0"},{"last_affected":"0.25.0-rc2"}]}}],"versions":["v0.1.0","v0.10.0","v0.11.0","v0.12.0","v0.13.0","v0.14.0","v0.15.0","v0.16.0","v0.17.0","v0.18.0","v0.2.0","v0.21.0","v0.22.0","v0.22.0-rc1","v0.22.0-rc2","v0.23.0","v0.23.0-rc1","v0.23.0-rc2","v0.24.0","v0.24.0-rc1","v0.24.1","v0.24.2","v0.24.3","v0.24.4","v0.24.5","v0.25.0","v0.25.0-rc1","v0.25.0-rc2","v0.3.0","v0.8.0"],"database_specific":{"vanir_signatures":[{"signature_version":"v1","deprecated":false,"id":"CVE-2016-10130-38834b57","digest":{"length":1705,"function_hash":"318247992408900916298322585007822052541"},"signature_type":"Function","source":"https://github.com/libgit2/libgit2/commit/b5c6a1b407b7f8b952bded2789593b68b1876211","target":{"function":"http_connect","file":"src/transports/http.c"}},{"signature_version":"v1","deprecated":false,"id":"CVE-2016-10130-bae22778","digest":{"line_hashes":["41661622924679872820485924092865500866","193636358063097759214999378978920200563","283241526558171429306071759488049258192","91166795071158107891136958663602337790","51273040654368137999328432674070513002","300264548954108489270359162159651110606","72503220256604289807738209762998253897","86526419933920457111589238345365215882"],"threshold":0.9},"signature_type":"Line","source":"https://github.com/libgit2/libgit2/commit/b5c6a1b407b7f8b952bded2789593b68b1876211","target":{"file":"src/transports/http.c"}},{"signature_version":"v1","deprecated":false,"id":"CVE-2016-10130-e6d14d99","digest":{"length":1411,"function_hash":"886347240987743745827901455911811629"},"signature_type":"Function","source":"https://github.com/libgit2/libgit2/commit/9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22","target":{"function":"http_connect","file":"src/transports/http.c"}},{"signature_version":"v1","deprecated":false,"id":"CVE-2016-10130-ebebf2dd","digest":{"line_hashes":["41661622924679872820485924092865500866","193636358063097759214999378978920200563","283241526558171429306071759488049258192","91166795071158107891136958663602337790","51273040654368137999328432674070513002","300264548954108489270359162159651110606","72503220256604289807738209762998253897","86526419933920457111589238345365215882"],"threshold":0.9},"signature_type":"Line","source":"https://github.com/libgit2/libgit2/commit/9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22","target":{"file":"src/transports/http.c"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10130.json","vanir_signatures_modified":"2026-04-11T03:36:55Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}