CVE-2016-10130
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2016-10130 NameCVE-2016-10130 DescriptionThe 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, webโฆ
CVE-2016-10130
| Name | CVE-2016-10130 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 851406, 860990 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| cargo (PTS) | bullseye | 0.47.0-3 | fixed |
| bookworm | 0.66.0+ds1-1 | fixed | |
| libgit2 (PTS) | bullseye (security), bullseye | 1.1.0+dfsg.1-4+deb11u2 | fixed |
| bookworm, bookworm (security) | 1.5.1+ds-1+deb12u1 | fixed | |
| trixie | 1.9.0+ds-2 | fixed | |
| forky | 1.9.3+ds-1 | fixed | |
| sid | 1.9.4+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| cargo | source | experimental | 0.17.0-1~exp1 | |||
| cargo | source | (unstable) | 0.17.0-1 | 860990 | ||
| libgit2 | source | jessie | (not affected) | |||
| libgit2 | source | (unstable) | 0.25.1+really0.24.6-1 | 851406 |
Notes
[jessie] - libgit2 <not-affected> (Vulnerable code not present)
https://github.com/libgit2/libgit2/commit/9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22 (v0.25.1)
https://github.com/libgit2/libgit2/commit/b5c6a1b407b7f8b952bded2789593b68b1876211 (v0.24.6)
Apply commands
[jessie] - libgit2 <not-affected> (Vulnerable code not present)https://github.com/libgit2/libgit2/commit/9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22 (v0.25.1)https://github.com/libgit2/libgit2/commit/b5c6a1b407b7f8b952bded2789593b68b1876211 (v0.24.6)
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 1:0.24.6-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.25.1+really0.24.6-1 |
| sid | Fixed | 0.25.1+really0.24.6-1 |
| forky | Fixed | 0.25.1+really0.24.6-1 |
| bullseye | Fixed | 0.17.0-1 |
| bookworm | Fixed | 0.17.0-1 |
References
- https://www.suse.com/security/cve/CVE-2016-10130.html
- https://security.archlinux.org/ASA-201701-21
- http://lists.opensuse.org/opensuse-updates/2017-02/msg00030.html
- http://lists.opensuse.org/opensuse-updates/2017-02/msg00036.html
- http://lists.opensuse.org/opensuse-updates/2017-02/msg00072.html
- http://www.openwall.com/lists/oss-security/2017/01/10/5
- http://www.openwall.com/lists/oss-security/2017/01/11/6
- http://www.securityfocus.com/bid/95359
- https://github.com/libgit2/libgit2/commit/9a64e62f0f20c9cf9b2e1609f037060eb2d8eb22
- https://github.com/libgit2/libgit2/commit/b5c6a1b407b7f8b952bded2789593b68b1876211
- https://libgit2.github.com/security/
- https://security-tracker.debian.org/tracker/CVE-2016-10130
CWEs
CWE-284
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.