BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-22742 in Libgit2 and 6 more products

Medium 5.9 Industrial / OT

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.

Affects 7 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.15.9
EPSS0.6%
EPSS percentile52th

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Libgit2 Libgit2 1.5.0 < 1.4.5
Siemens SCALANCE XCM324 < 2.4
Siemens SCALANCE XCM328 < 2.4
Siemens SCALANCE XCH328 < 2.4
Siemens SCALANCE XRH334 < 2.4
Siemens SCALANCE XRM334 < 2.4
Siemens SCALANCE XCM332 < 2.4

Fix and vendor advisory

  • SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 7 more: Update to V2.4 or later version

Source: ICSA-24-046-11

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2023-22742
BreachSpider IDBS-2023-GLOBAL-062457-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2023-01-20
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.