CVE-2023-22742Improper Verification of Cryptographic Signature in Libgit2

Severity
5.9MEDIUMNVD
OSV9.8
EPSS
0.1%
top 69.00%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 20
Latest updateMar 5

Description

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 w

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NExploitability: 2.2 | Impact: 3.6

Affected Packages12 packages

debiandebian/libgit2< libgit2 1.5.1+ds-1 (bookworm)
NVDlibgit2/libgit2< 1.4.5+1
Debianlibgit2/libgit2< 1.1.0+dfsg.1-4+deb11u1+3
Ubuntulibgit2/libgit2< 0.28.4+dfsg.1-2ubuntu0.1+3
CVEListV5libgit2/libgit2= 1.5.0

Patches

🔴Vulnerability Details

5
OSV
libgit2 vulnerabilities2024-03-05
OSV
CVE-2023-22742: libgit2 is a cross-platform, linkable library implementation of Git2023-01-20
OSV
git2 does not verify SSH keys by default2023-01-20
OSV
git2-rs fails to verify SSH keys by default2023-01-20
GHSA
git2-rs fails to verify SSH keys by default2023-01-20

📋Vendor Advisories

5
Ubuntu
libgit2 vulnerabilities2024-03-05
CISA ICS
Siemens SCALANCE XCM-/XRM-3002024-02-15
Red Hat
libgit2: fails to verify SSH keys by default2023-01-21
Microsoft
libgit2 fails to verify SSH keys by default2023-01-10
Debian
CVE-2023-22742: libgit2 - libgit2 is a cross-platform, linkable library implementation of Git. When using ...2023