Upstream information

CVE-2024-24575 at MITRE

Description

libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_revparse_single` can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec string. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

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

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Development Tools 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • libgit2-1_7 >= 1.7.2-150600.3.3.1
  • libgit2-devel >= 1.7.2-150600.3.3.1
  • libgit2-tools >= 1.7.2-150600.3.3.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP6-2024-2584
openSUSE Leap 15.6
  • libgit2-1_7 >= 1.7.2-150600.3.3.1
  • libgit2-devel >= 1.7.2-150600.3.3.1
  • libgit2-tools >= 1.7.2-150600.3.3.1
Patchnames:
openSUSE-SLE-15.6-2024-2584
openSUSE Tumbleweed
  • libgit2-1_7 >= 1.7.2-2.1
  • libgit2-devel >= 1.7.2-2.1
  • libgit2-tools >= 1.7.2-2.1
Patchnames:
openSUSE-Tumbleweed-2024-13675


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 Linux Enterprise Desktop 15 SP5 git Not affected
SUSE Linux Enterprise Desktop 15 SP5 libgit2 Not affected
SUSE Linux Enterprise Desktop 15 SP6 git Not affected
SUSE Linux Enterprise Desktop 15 SP6 libgit2 Released
SUSE Linux Enterprise High Performance Computing 15 SP5 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 libgit2 Released
SUSE Linux Enterprise Micro 5.5 git Not affected
SUSE Linux Enterprise Micro 6.0 git Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP5 git Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP6 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 Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP6 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP6 libgit2 Released
SUSE Linux Enterprise Server 15 SP5 git Not affected
SUSE Linux Enterprise Server 15 SP5 libgit2 Not affected
SUSE Linux Enterprise Server 15 SP6 git Not affected
SUSE Linux Enterprise Server 15 SP6 libgit2 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 libgit2 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 libgit2 Released
SUSE Manager Proxy 4.3 git Not affected
SUSE Manager Proxy 4.3 libgit2 Not affected
SUSE Manager Retail Branch Server 4.3 git Not affected
SUSE Manager Retail Branch Server 4.3 libgit2 Not affected
SUSE Manager Server 4.3 git Not affected
SUSE Manager Server 4.3 libgit2 Not affected
SUSE Manager Server Module 4.3 libgit2 Not affected
openSUSE Leap 15.5 git Not affected
openSUSE Leap 15.5 libgit2 Not affected
openSUSE Leap 15.6 git Not affected
openSUSE Leap 15.6 libgit2 Released
openSUSE Leap Micro 5.5 git Not affected
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 Not affected
SUSE Linux Enterprise High Performance Computing 12 SP5 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS libgit2 Not 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 Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 libgit2 Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 libgit2 Not affected
SUSE Linux Enterprise Server 12 SP5 git Not affected
SUSE Linux Enterprise Server 12 SP5 libgit2 Not affected
SUSE Linux Enterprise Server 12 SP5-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP2 git Not affected
SUSE Linux Enterprise Server 15 SP2 libgit2 Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS libgit2 Not affected
SUSE Linux Enterprise Server 15 SP3 git Not affected
SUSE Linux Enterprise Server 15 SP3 libgit2 Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS libgit2 Not affected
SUSE Linux Enterprise Server 15 SP4 git Not affected
SUSE Linux Enterprise Server 15 SP4 libgit2 Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS libgit2 Not affected
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 git Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 libgit2 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 libgit2 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 libgit2 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 libgit2 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 Not affected
SUSE Enterprise Storage 6 git Not affected
SUSE Enterprise Storage 6 libgit2 Not affected
SUSE Enterprise Storage 7 git Not affected
SUSE Enterprise Storage 7 libgit2 Not affected
SUSE Enterprise Storage 7.1 git Not affected
SUSE Enterprise Storage 7.1 libgit2 Not 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 Not affected
SUSE Linux Enterprise Desktop 15 SP1 git Not affected
SUSE Linux Enterprise Desktop 15 SP1 libgit2 Not affected
SUSE Linux Enterprise Desktop 15 SP2 git Not affected
SUSE Linux Enterprise Desktop 15 SP2 libgit2 Not affected
SUSE Linux Enterprise Desktop 15 SP3 git Not affected
SUSE Linux Enterprise Desktop 15 SP3 libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 git Not affected
SUSE Linux Enterprise High Performance Computing 15 libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS git Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS libgit2 Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS git Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS libgit2 Not 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 Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP1 git Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP1 libgit2 Not affected
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT git Not affected
SUSE Linux Enterprise Real Time 15 SP2 git Not affected
SUSE Linux Enterprise Real Time 15 SP2 libgit2 Not affected
SUSE Linux Enterprise Real Time 15 SP3 git Not affected
SUSE Linux Enterprise Real Time 15 SP3 libgit2 Not affected
SUSE Linux Enterprise Real Time 15 SP4 git Not affected
SUSE Linux Enterprise Real Time 15 SP4 libgit2 Not 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 12-LTSS git Not affected
SUSE Linux Enterprise Server 15 git Not affected
SUSE Linux Enterprise Server 15 libgit2 Not affected
SUSE Linux Enterprise Server 15 SP1 git Not affected
SUSE Linux Enterprise Server 15 SP1 libgit2 Not affected
SUSE Linux Enterprise Server 15 SP1-BCL git Not affected
SUSE Linux Enterprise Server 15 SP1-BCL libgit2 Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS git Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS libgit2 Not affected
SUSE Linux Enterprise Server 15 SP2-BCL git Not affected
SUSE Linux Enterprise Server 15 SP2-BCL libgit2 Not affected
SUSE Linux Enterprise Server 15 SP3-BCL git Not affected
SUSE Linux Enterprise Server 15 SP3-BCL libgit2 Not affected
SUSE Linux Enterprise Server 15-LTSS git Not affected
SUSE Linux Enterprise Server 15-LTSS libgit2 Not 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 Server for SAP Applications 15 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 libgit2 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 git Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 libgit2 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 Linux Enterprise Software Development Kit 12 SP5 git Not affected
SUSE Linux Enterprise Software Development Kit 12 SP5 libgit2 Not affected
SUSE Manager Proxy 4.0 git Not affected
SUSE Manager Proxy 4.0 libgit2 Not affected
SUSE Manager Proxy 4.1 git Not affected
SUSE Manager Proxy 4.1 libgit2 Not affected
SUSE Manager Proxy 4.2 git Not affected
SUSE Manager Proxy 4.2 libgit2 Not affected
SUSE Manager Retail Branch Server 4.0 git Not affected
SUSE Manager Retail Branch Server 4.0 libgit2 Not affected
SUSE Manager Retail Branch Server 4.1 git Not affected
SUSE Manager Retail Branch Server 4.1 libgit2 Not affected
SUSE Manager Retail Branch Server 4.2 git Not affected
SUSE Manager Retail Branch Server 4.2 libgit2 Not affected
SUSE Manager Server 4.0 git Not affected
SUSE Manager Server 4.0 libgit2 Not affected
SUSE Manager Server 4.1 git Not affected
SUSE Manager Server 4.1 libgit2 Not affected
SUSE Manager Server 4.2 git Not affected
SUSE Manager Server 4.2 libgit2 Not affected
SUSE Manager Server Module 4.0 libgit2 Not affected
SUSE Manager Server Module 4.1 libgit2 Not affected
SUSE Manager Server Module 4.2 libgit2 Not affected
SUSE OpenStack Cloud 7 git Not affected
SUSE OpenStack Cloud 8 git Not affected
SUSE OpenStack Cloud 9 git Not affected
SUSE OpenStack Cloud Crowbar 8 git Not affected
SUSE OpenStack Cloud Crowbar 9 git Not affected
openSUSE Leap 15.3 git Not affected
openSUSE Leap 15.3 libgit2 Not affected
openSUSE Leap 15.4 git Not affected
openSUSE Leap 15.4 libgit2 Not affected
Container Status
bci/spack gitNot affected


SUSE Timeline for this CVE

CVE page created: Wed Feb 7 01:00:13 2024
CVE page last modified: Mon Nov 18 14:15:34 2024