CVE-2016-10130

medium
Published 2017-03-24 ยท Modified 2026-05-13
CVSS v3
5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.9

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

Exploit likelihood
69%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker ยท View original โ†— ยท DFSG

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

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 search, more)
Debian Bugs851406, 860990

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cargo (PTS)bullseye0.47.0-3fixed
bookworm0.66.0+ds1-1fixed
libgit2 (PTS)bullseye (security), bullseye1.1.0+dfsg.1-4+deb11u2fixed
bookworm, bookworm (security)1.5.1+ds-1+deb12u1fixed
trixie1.9.0+ds-2fixed
forky1.9.3+ds-1fixed
sid1.9.4+ds-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cargosourceexperimental0.17.0-1~exp1
cargosource(unstable)0.17.0-1860990
libgit2sourcejessie(not affected)
libgit2source(unstable)0.25.1+really0.24.6-1851406

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)

Home - Debian Security - Source (Git)

Apply commands

text fix
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)

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 1:0.24.6-1
debian Debian Fixed 5 releases
VersionStatusFixed 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

Application impact

VendorProductVersionsFixed
libgit2_projectlibgit2{"endIncluding":"0.24.5"}
libgit2_projectlibgit20.25.0

References

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.