Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The git2 and libgit2-sys Rust crates, which wrap the libgit2 C library, are affected: libgit2-sys versions before 0.13.5 and from 0.14.0 before 0.14.2, and git2 before 0.16.1. libgit2 1.5.0 and earlier did not verify SSH host keys, so an attacker positioned on the network path could carry out a man-in-the-middle attack on SSH connections. Upgrade libgit2-sys to 0.13.5 or 0.14.2 and git2 to 0.16.1.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.3 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0061, the 49th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:24 UTC First seen by agentprime
- 31 Oct 2026, 14:24 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m4ch-rfv5-x5g3
- OSV: GHSA-m4ch-rfv5-x5g3
- github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmjq
- github.com/rust-lang/git2-rs/security/advisories/GHSA-m4ch-rfv5-x5g3
- nvd.nist.gov/vuln/detail/CVE-2023-22742
- github.com/rust-lang/git2-rs/commit/87934f87d36753ed702792ec063be7246444a8e1
- github.com/rust-lang/git2-rs
- rustsec.org/advisories/RUSTSEC-2023-0003.html