CVE-2023-22742

CVSS V2 None CVSS V3 None
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 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.
Overview
  • CVE ID
  • CVE-2023-22742
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2023-01-20T23:15:10
  • Last Modified Date
  • 2023-01-30T20:53:47
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:* 1 OR 1.4.5
cpe:2.3:a:libgit2:libgit2:1.5.0:*:*:*:*:*:*:* 1 OR
History
Created Old Value New Value Data Type Notes
2023-01-21 00:18:16 Added to TrackCVE
2023-01-21 00:18:16 Weakness Enumeration new
2023-01-23 15:14:30 2023-01-23T15:08:08 CVE Modified Date updated
2023-01-23 15:14:30 Received Awaiting Analysis Vulnerability Status updated
2023-01-30 15:14:16 Awaiting Analysis Undergoing Analysis Vulnerability Status updated
2023-01-30 21:13:47 2023-01-30T20:53:47 CVE Modified Date updated
2023-01-30 21:13:47 Undergoing Analysis Analyzed Vulnerability Status updated
2023-01-30 21:13:50 CPE Information updated