Upstream information

CVE-2023-22742 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.9 5.3
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector Network Network
Attack Complexity High High
Privileges Required None None
User Interaction None Required
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact High High
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1207364 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container suse/manager/5.0/x86_64/server:latest
  • libgit2-28 >= 0.28.4-150200.3.6.1
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Development Tools 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • libgit2-1_3 >= 1.3.0-150400.3.6.1
  • libgit2-devel >= 1.3.0-150400.3.6.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP4-2023-1788
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Development Tools 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • libgit2-1_3 >= 1.3.0-150400.3.6.1
  • libgit2-devel >= 1.3.0-150400.3.6.1
Patchnames:
SUSE Linux Enterprise Module for Development Tools 15 SP5 GA libgit2-1.3.0-150400.3.6.1
SUSE Linux Enterprise Module for Development Tools 15 SP5 GA libgit2-1_3-1.3.0-150400.3.6.1
SUSE Linux Enterprise Real Time 15 SP3
  • libgit2-28 >= 0.28.4-150200.3.6.1
  • libgit2-devel >= 0.28.4-150200.3.6.1
Patchnames:
SUSE-SLE-Product-RT-15-SP3-2023-1909
SUSE Manager Server Module 4.2
  • libgit2-28 >= 0.28.4-150200.3.6.1
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Server-4.2-2023-1909
SUSE Manager Server Module 4.3
  • libgit2-28 >= 0.28.4-150200.3.6.1
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Server-4.3-2023-1909
openSUSE Leap 15.4
  • libgit2-1_3 >= 1.3.0-150400.3.6.1
  • libgit2-1_3-32bit >= 1.3.0-150400.3.6.1
  • libgit2-26 >= 0.26.8-150000.3.18.1
  • libgit2-26-32bit >= 0.26.8-150000.3.18.1
  • libgit2-28 >= 0.28.4-150200.3.6.1
  • libgit2-28-32bit >= 0.28.4-150200.3.6.1
  • libgit2-devel >= 1.3.0-150400.3.6.1
Patchnames:
openSUSE-SLE-15.4-2023-1570
openSUSE-SLE-15.4-2023-1788
openSUSE-SLE-15.4-2023-1909
openSUSE Tumbleweed
  • libgit2 >= 1.5.1-1.1
  • libgit2-1_5 >= 1.5.1-1.1
  • libgit2-devel >= 1.5.1-1.1
Patchnames:
openSUSE Tumbleweed GA libgit2-1.5.1-1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 git Not affected
SUSE Enterprise Storage 7.1 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP5 git Not affected
SUSE Linux Enterprise Desktop 15 SP5 libgit2 Released
SUSE Linux Enterprise High Performance Computing 12 SP5 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 libgit2 Released
SUSE Linux Enterprise Micro 5.5 git Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP5 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 libgit2 Released
SUSE Linux Enterprise Real Time 15 SP3 git Not affected
SUSE Linux Enterprise Real Time 15 SP3 libgit2 Released
SUSE Linux Enterprise Server 12 SP5 git Not affected
SUSE Linux Enterprise Server 12 SP5 libgit2 Affected
SUSE Linux Enterprise Server 12-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP5 git Not affected
SUSE Linux Enterprise Server 15 SP5 libgit2 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 libgit2 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 libgit2 Released
SUSE Linux Enterprise Software Development Kit 12 SP5 git Not affected
SUSE Linux Enterprise Software Development Kit 12 SP5 libgit2 Affected
SUSE Manager Proxy 4.3 git Not affected
SUSE Manager Proxy 4.3 libgit2 Released
SUSE Manager Retail Branch Server 4.3 git Not affected
SUSE Manager Retail Branch Server 4.3 libgit2 Released
SUSE Manager Server 4.3 git Not affected
SUSE Manager Server 4.3 libgit2 Released
SUSE Manager Server Module 4.3 libgit2 Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 git Not affected
SUSE Linux Enterprise Desktop 15 SP4 libgit2 Released
SUSE Linux Enterprise High Performance Computing 15 git Not affected
SUSE Linux Enterprise High Performance Computing 15 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP1 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 libgit2 Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS libgit2 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 git Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 git Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 libgit2 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 libgit2 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 libgit2 Released
SUSE Linux Enterprise Server 15 SP2 git Not affected
SUSE Linux Enterprise Server 15 SP2 libgit2 Affected
SUSE Linux Enterprise Server 15 SP2-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS libgit2 Affected
SUSE Linux Enterprise Server 15 SP3 git Not affected
SUSE Linux Enterprise Server 15 SP3 libgit2 Affected
SUSE Linux Enterprise Server 15 SP3-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS libgit2 Affected
SUSE Linux Enterprise Server 15 SP4 git Not affected
SUSE Linux Enterprise Server 15 SP4 libgit2 Released
SUSE Linux Enterprise Server 15 SP4-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 libgit2 Affected
SUSE OpenStack Cloud 8 git Not affected
SUSE OpenStack Cloud 9 git Not affected
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 git Not affected
SUSE CaaS Platform 3.0 git Not affected
SUSE CaaS Platform 4.0 git Not affected
SUSE CaaS Platform 4.0 libgit2 Affected
SUSE Enterprise Storage 6 git Not affected
SUSE Enterprise Storage 6 libgit2 Affected
SUSE Enterprise Storage 7 git Not affected
SUSE Enterprise Storage 7 libgit2 Affected
SUSE Linux Enterprise Desktop 12 git Not affected
SUSE Linux Enterprise Desktop 12 SP1 git Not affected
SUSE Linux Enterprise Desktop 12 SP2 git Not affected
SUSE Linux Enterprise Desktop 12 SP3 git Not affected
SUSE Linux Enterprise Desktop 12 SP4 git Not affected
SUSE Linux Enterprise Desktop 15 git Not affected
SUSE Linux Enterprise Desktop 15 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP1 git Not affected
SUSE Linux Enterprise Desktop 15 SP1 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP2 git Not affected
SUSE Linux Enterprise Desktop 15 SP2 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP3 git Not affected
SUSE Linux Enterprise Desktop 15 SP3 libgit2 Affected
SUSE Linux Enterprise Module for Basesystem 15 git Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 libgit2 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP1 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP1 libgit2 Affected
SUSE Linux Enterprise Real Time 15 SP2 git Not affected
SUSE Linux Enterprise Real Time 15 SP2 libgit2 Affected
SUSE Linux Enterprise Real Time 15 SP4 git Not affected
SUSE Linux Enterprise Real Time 15 SP4 libgit2 Affected
SUSE Linux Enterprise Server 12 git Not affected
SUSE Linux Enterprise Server 12 SP1 git Not affected
SUSE Linux Enterprise Server 12 SP1-LTSS git Not affected
SUSE Linux Enterprise Server 12 SP2 git Not affected
SUSE Linux Enterprise Server 12 SP2-BCL git Not affected
SUSE Linux Enterprise Server 12 SP2-ESPOS git Not affected
SUSE Linux Enterprise Server 12 SP2-LTSS git Not affected
SUSE Linux Enterprise Server 12 SP3 git Not affected
SUSE Linux Enterprise Server 12 SP3-BCL git Not affected
SUSE Linux Enterprise Server 12 SP3-ESPOS git Not affected
SUSE Linux Enterprise Server 12 SP3-LTSS git Not affected
SUSE Linux Enterprise Server 12 SP4 git Not affected
SUSE Linux Enterprise Server 12 SP4-ESPOS git Not affected
SUSE Linux Enterprise Server 12 SP4-LTSS git Not affected
SUSE Linux Enterprise Server 15 git Not affected
SUSE Linux Enterprise Server 15 libgit2 Affected
SUSE Linux Enterprise Server 15 SP1 git Not affected
SUSE Linux Enterprise Server 15 SP1 libgit2 Affected
SUSE Linux Enterprise Server 15 SP1-BCL git Not affected
SUSE Linux Enterprise Server 15 SP1-BCL libgit2 Affected
SUSE Linux Enterprise Server 15 SP1-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS libgit2 Affected
SUSE Linux Enterprise Server 15 SP2-BCL git Not affected
SUSE Linux Enterprise Server 15 SP2-BCL libgit2 Affected
SUSE Linux Enterprise Server 15 SP3-BCL git Not affected
SUSE Linux Enterprise Server 15 SP3-BCL libgit2 Affected
SUSE Linux Enterprise Server 15-LTSS git Not affected
SUSE Linux Enterprise Server 15-LTSS libgit2 Affected
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP1 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 git Not affected
SUSE Linux Enterprise Software Development Kit 12 git Not affected
SUSE Linux Enterprise Software Development Kit 12 SP1 git Not affected
SUSE Linux Enterprise Software Development Kit 12 SP2 git Not affected
SUSE Linux Enterprise Software Development Kit 12 SP3 git Not affected
SUSE Linux Enterprise Software Development Kit 12 SP4 git Not affected
SUSE Manager Proxy 4.0 git Not affected
SUSE Manager Proxy 4.0 libgit2 Affected
SUSE Manager Proxy 4.1 git Not affected
SUSE Manager Proxy 4.1 libgit2 Affected
SUSE Manager Proxy 4.2 git Not affected
SUSE Manager Proxy 4.2 libgit2 Affected
SUSE Manager Retail Branch Server 4.0 git Not affected
SUSE Manager Retail Branch Server 4.0 libgit2 Affected
SUSE Manager Retail Branch Server 4.1 git Not affected
SUSE Manager Retail Branch Server 4.1 libgit2 Affected
SUSE Manager Retail Branch Server 4.2 git Not affected
SUSE Manager Retail Branch Server 4.2 libgit2 Affected
SUSE Manager Server 4.0 git Not affected
SUSE Manager Server 4.0 libgit2 Affected
SUSE Manager Server 4.1 git Not affected
SUSE Manager Server 4.1 libgit2 Affected
SUSE Manager Server 4.2 git Not affected
SUSE Manager Server 4.2 libgit2 Affected
SUSE Manager Server Module 4.0 libgit2 Affected
SUSE Manager Server Module 4.1 libgit2 Affected
SUSE Manager Server Module 4.2 libgit2 Released
SUSE OpenStack Cloud 7 git Not affected
SUSE OpenStack Cloud Crowbar 8 git Not affected
SUSE OpenStack Cloud Crowbar 9 git Not affected
openSUSE Leap 15.4 libgit2 Released


SUSE Timeline for this CVE

CVE page created: Sat Jan 21 11:45:02 2023
CVE page last modified: Mon Apr 15 16:15:14 2024