CVE-2023-22742: libgit2 fails to verify SSH keys by default
Affected: libgit2 · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 49% of scored CVEs
DescriptionCVE.org
libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the `certificate_check` field of libgit2's `git_remote_callbacks` structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are manually checked.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- libgit2 · libgit2< 1.4.5; = 1.5.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- libgit2
- Published
- January 2023
CoverageNo articles yet
No CyberSIXT article names CVE-2023-22742 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-347cwe.mitre.org
- github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmgithub.com
- github.com/libgit2/libgit2/commit/42e5db98b963ae503229c63e44e06egithub.com
- github.com/libgit2/libgit2/commit/cd6f679af401eda1f172402006ef82github.com
- github.com/libgit2/libgit2/releases/tag/v1.4.5github.com
- github.com/libgit2/libgit2/releases/tag/v1.5.1github.com
- libssh2.orglibssh2.org
- openwall.com/lists/oss-security/2023/11/06/5openwall.com