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.
CVSS Details
- CVSS 3.0 Base Score: 5.9
- CVSS 3.0 Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade libgit2-1.0Upgrade libgit2Upgrade libgit2-0.27Upgrade libgit2-1.1 | Aug 30, 2017 | Mar 24, 2017 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Mar 24, 2017 |
| Debian | — | Upgrade cargoUpgrade libgit2 | Jul 30, 2024 | Mar 24, 2017 |
| Suse | — | Upgrade libgit2-26Upgrade libgit2-28Upgrade libgit2-24Upgrade libgit2-devel | Feb 7, 2017 | Feb 6, 2017 |
| Ubuntu | — | No solution existsUpgrade libgit2-24 (Ubuntu Pro)Upgrade libgit2-fixtures (Ubuntu Pro)Upgrade libgit2-1.7Upgrade libgit2-1.1 (Ubuntu Pro)Upgrade libgit2-0 (Ubuntu Pro)Upgrade libgit2-28 (Ubuntu Pro)Upgrade libgit2-1.9Upgrade libgit2-fixturesUpgrade libgit2-26 (Ubuntu Pro)Upgrade libgit2-dev (Ubuntu Pro)Upgrade libgit2-dev | Jun 26, 2025 | Mar 24, 2017 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub