{"id":"EUVD-2023-26860","revision":"7da40d0f893743188fceaf529cac8b38","records":[{"revision":"7da40d0f893743188fceaf529cac8b38","observedAt":"2026-10-30T21:46:56.254+00:00","statement":{"source":"euvd","id":"EUVD-2023-26860","aliases":["CVE-2023-22742"],"title":"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 t…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.3,"severity":null}],"references":["https://github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmjq","https://github.com/libgit2/libgit2/commit/42e5db98b963ae503229c63e44e06e439df50e56","https://github.com/libgit2/libgit2/commit/cd6f679af401eda1f172402006ef8265f8bd58ea","https://github.com/libgit2/libgit2/releases/tag/v1.4.5","https://github.com/libgit2/libgit2/releases/tag/v1.5.1","https://www.libssh2.org/","http://www.openwall.com/lists/oss-security/2023/11/06/5"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-26860","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 20, 2023, 10:49:06 PM","dateUpdated":"Mar 10, 2025, 9:21:08 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2024:12632-1","title":"libgit2-1.5.1-1.1 on GA media","vulnerabilityIds":["CVE-2023-22742"]},{"id":"SUSE-SU-2023:1570-1","title":"Security update for libgit2","vulnerabilityIds":["CVE-2023-22742"]},{"id":"ICSA-24-046-11","title":"Siemens SCALANCE XCM-/XRM-300","vulnerabilityIds":["CVE-2006-20001","CVE-2020-10735","CVE-2021-3445","CVE-2021-3638","CVE-2021-4037","CVE-2021-36369","CVE-2021-43666","CVE-2021-45451","CVE-2022-1015","CVE-2022-1348","CVE-2022-2586","CVE-2022-2880","CVE-2022-3294","CVE-2022-3437","CVE-2022-3515","CVE-2022-4415","CVE-2022-4743","CVE-2022-4744","CVE-2022-4900","CVE-2022-4904","CVE-2022-23471","CVE-2022-23521","CVE-2022-24834","CVE-2022-26691","CVE-2022-28737","CVE-2022-28738","CVE-2022-28739","CVE-2022-29154","CVE-2022-29162","CVE-2022-29187","CVE-2022-29536","CVE-2022-32148","CVE-2022-34903","CVE-2022-34918","CVE-2022-36021","CVE-2022-36227","CVE-2022-36760","CVE-2022-37436","CVE-2022-37454","CVE-2022-37797","CVE-2022-38725","CVE-2022-39189","CVE-2022-39260","CVE-2022-41409","CVE-2022-41556","CVE-2022-41715","CVE-2022-41717","CVE-2022-41723","CVE-2022-41860","CVE-2022-41861","CVE-2022-41862","CVE-2022-41903","CVE-2022-42919","CVE-2022-44370","CVE-2022-45061","CVE-2022-45142","CVE-2022-45919","CVE-2022-46392","CVE-2022-46393","CVE-2022-47629","CVE-2022-48303","CVE-2022-48434","CVE-2023-0160","CVE-2023-0330","CVE-2023-0361","CVE-2023-0494","CVE-2023-0567","CVE-2023-0568","CVE-2023-0590","CVE-2023-0662","CVE-2023-1206","CVE-2023-1380","CVE-2023-1393","CVE-2023-1611","CVE-2023-1670","CVE-2023-1838","CVE-2023-1855","CVE-2023-1859","CVE-2023-1989","CVE-2023-1990","CVE-2023-2002","CVE-2023-2124","CVE-2023-2194","CVE-2023-2269","CVE-2023-2861","CVE-2023-2953","CVE-2023-3006","CVE-2023-3090","CVE-2023-3111","CVE-2023-3141","CVE-2023-3212","CVE-2023-3247","CVE-2023-3268","CVE-2023-3301","CVE-2023-3316","CVE-2023-3390","CVE-2023-3611","CVE-2023-3776","CVE-2023-3863","CVE-2023-4128","CVE-2023-4194","CVE-2023-20593","CVE-2023-21255","CVE-2023-22490","CVE-2023-22742","CVE-2023-22745","CVE-2023-23454","CVE-2023-23931","CVE-2023-23934","CVE-2023-23946","CVE-2023-24538","CVE-2023-25153","CVE-2023-25155","CVE-2023-25193","CVE-2023-25588","CVE-2023-25690","CVE-2023-25727","CVE-2023-26081","CVE-2023-26965","CVE-2023-27522","CVE-2023-27534","CVE-2023-27535","CVE-2023-27536","CVE-2023-28450","CVE-2023-28466","CVE-2023-28486","CVE-2023-28487","CVE-2023-29402","CVE-2023-29404","CVE-2023-29405","CVE-2023-29406","CVE-2023-29409","CVE-2023-30086","CVE-2023-30456","CVE-2023-30772","CVE-2023-31084","CVE-2023-31124","CVE-2023-31130","CVE-2023-31147","CVE-2023-31436","CVE-2023-31489","CVE-2023-32067","CVE-2023-32233","CVE-2023-32573","CVE-2023-33203","CVE-2023-34256","CVE-2023-34872","CVE-2023-34969","CVE-2023-35001","CVE-2023-35788","CVE-2023-35789","CVE-2023-35823","CVE-2023-35824","CVE-2023-35828","CVE-2023-36054","CVE-2023-36617","CVE-2023-36664","CVE-2023-37920","CVE-2023-38559","CVE-2023-40283"]},{"id":"msrc_CVE-2023-22742","title":"libgit2 fails to verify SSH keys by default","vulnerabilityIds":["CVE-2023-22742"]},{"id":"SSA-806742","title":"SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4","vulnerabilityIds":["CVE-2006-20001","CVE-2020-10735","CVE-2021-3445","CVE-2021-3638","CVE-2021-4037","CVE-2021-36369","CVE-2021-43666","CVE-2021-45451","CVE-2022-1015","CVE-2022-1348","CVE-2022-2586","CVE-2022-2880","CVE-2022-3294","CVE-2022-3437","CVE-2022-3515","CVE-2022-4415","CVE-2022-4743","CVE-2022-4744","CVE-2022-4900","CVE-2022-4904","CVE-2022-23471","CVE-2022-23521","CVE-2022-24834","CVE-2022-26691","CVE-2022-28737","CVE-2022-28738","CVE-2022-28739","CVE-2022-29154","CVE-2022-29162","CVE-2022-29187","CVE-2022-29536","CVE-2022-32148","CVE-2022-34903","CVE-2022-34918","CVE-2022-36021","CVE-2022-36227","CVE-2022-36760","CVE-2022-37436","CVE-2022-37454","CVE-2022-37797","CVE-2022-38725","CVE-2022-39189","CVE-2022-39260","CVE-2022-41409","CVE-2022-41556","CVE-2022-41715","CVE-2022-41717","CVE-2022-41723","CVE-2022-41860","CVE-2022-41861","CVE-2022-41862","CVE-2022-41903","CVE-2022-42919","CVE-2022-44370","CVE-2022-45061","CVE-2022-45142","CVE-2022-45919","CVE-2022-46392","CVE-2022-46393","CVE-2022-47629","CVE-2022-48303","CVE-2022-48434","CVE-2023-0160","CVE-2023-0330","CVE-2023-0361","CVE-2023-0494","CVE-2023-0567","CVE-2023-0568","CVE-2023-0590","CVE-2023-0662","CVE-2023-1206","CVE-2023-1380","CVE-2023-1393","CVE-2023-1611","CVE-2023-1670","CVE-2023-1838","CVE-2023-1855","CVE-2023-1859","CVE-2023-1989","CVE-2023-1990","CVE-2023-2002","CVE-2023-2124","CVE-2023-2194","CVE-2023-2269","CVE-2023-2861","CVE-2023-2953","CVE-2023-3006","CVE-2023-3090","CVE-2023-3111","CVE-2023-3141","CVE-2023-3212","CVE-2023-3247","CVE-2023-3268","CVE-2023-3301","CVE-2023-3316","CVE-2023-3390","CVE-2023-3611","CVE-2023-3776","CVE-2023-3863","CVE-2023-4128","CVE-2023-4194","CVE-2023-20593","CVE-2023-21255","CVE-2023-22490","CVE-2023-22742","CVE-2023-22745","CVE-2023-23454","CVE-2023-23931","CVE-2023-23934","CVE-2023-23946","CVE-2023-24538","CVE-2023-25153","CVE-2023-25155","CVE-2023-25193","CVE-2023-25588","CVE-2023-25690","CVE-2023-25727","CVE-2023-26081","CVE-2023-26965","CVE-2023-27522","CVE-2023-27534","CVE-2023-27535","CVE-2023-27536","CVE-2023-28450","CVE-2023-28466","CVE-2023-28486","CVE-2023-28487","CVE-2023-29402","CVE-2023-29404","CVE-2023-29405","CVE-2023-29406","CVE-2023-29409","CVE-2023-30086","CVE-2023-30456","CVE-2023-30772","CVE-2023-31084","CVE-2023-31124","CVE-2023-31130","CVE-2023-31147","CVE-2023-31436","CVE-2023-31489","CVE-2023-32067","CVE-2023-32233","CVE-2023-32573","CVE-2023-33203","CVE-2023-34256","CVE-2023-34872","CVE-2023-34969","CVE-2023-35001","CVE-2023-35788","CVE-2023-35789","CVE-2023-35823","CVE-2023-35824","CVE-2023-35828","CVE-2023-36054","CVE-2023-36617","CVE-2023-36664","CVE-2023-37920","CVE-2023-38559","CVE-2023-40283"]},{"id":"SUSE-SU-2023:1788-1","title":"Security update for libgit2","vulnerabilityIds":["CVE-2023-22742"]},{"id":"SUSE-SU-2023:1909-1","title":"Security update for libgit2","vulnerabilityIds":["CVE-2023-22742"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-26860","identifiers":["EUVD-2023-26860","CVE-2023-22742"]},"retained":false,"historicalAffected":[]}],"coverage":[]}