Upstream information

CVE-2024-24577 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_index_add` can cause heap corruption that could be leveraged for arbitrary code execution. There is an issue in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed. The freed entry is later used and overwritten with potentially bad actor-controlled data leading to controlled heap corruption. Depending on the application that uses libgit2, this could lead to arbitrary code execution. This issue has been patched in version 1.6.5 and 1.7.2.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having important severity.

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

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • libgit2-1_7 >= 1.7.2-1.1
  • libgit2-devel >= 1.7.2-1.1
  • libgit2-tools >= 1.7.2-1.1
Patchnames:
openSUSE Tumbleweed GA libgit2-1_7-1.7.2-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 Affected
SUSE Enterprise Storage 7.1 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP5 git Affected
SUSE Linux Enterprise Desktop 15 SP5 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP6 git Affected
SUSE Linux Enterprise Desktop 15 SP6 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 12 SP5 git Affected
SUSE Linux Enterprise High Performance Computing 15 SP5 git Affected
SUSE Linux Enterprise High Performance Computing 15 SP5 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP6 git Affected
SUSE Linux Enterprise High Performance Computing 15 SP6 libgit2 Affected
SUSE Linux Enterprise Micro 5.5 git Affected
SUSE Linux Enterprise Module for Basesystem 15 SP5 git Affected
SUSE Linux Enterprise Module for Basesystem 15 SP6 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 libgit2 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP6 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP6 libgit2 Affected
SUSE Linux Enterprise Server 12 SP5 git Affected
SUSE Linux Enterprise Server 12 SP5 libgit2 Affected
SUSE Linux Enterprise Server 15 SP5 git Affected
SUSE Linux Enterprise Server 15 SP5 libgit2 Affected
SUSE Linux Enterprise Server 15 SP6 git Affected
SUSE Linux Enterprise Server 15 SP6 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 git Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 libgit2 Affected
SUSE Linux Enterprise Software Development Kit 12 SP5 git Affected
SUSE Linux Enterprise Software Development Kit 12 SP5 libgit2 Affected
SUSE Manager Proxy 4.3 git Affected
SUSE Manager Proxy 4.3 libgit2 Affected
SUSE Manager Retail Branch Server 4.3 git Affected
SUSE Manager Retail Branch Server 4.3 libgit2 Affected
SUSE Manager Server 4.3 git Affected
SUSE Manager Server 4.3 libgit2 Affected
SUSE Manager Server Module 4.3 libgit2 Affected
openSUSE Leap 15.5 git Affected
openSUSE Leap 15.5 libgit2 Affected
openSUSE Leap 15.6 git Affected
openSUSE Leap 15.6 libgit2 Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 git Affected
SUSE Linux Enterprise Desktop 15 SP4 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 git Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 git Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 git Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS libgit2 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 git Affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 git Affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 libgit2 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 libgit2 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 libgit2 Affected
SUSE Linux Enterprise Server 15 SP2 git Affected
SUSE Linux Enterprise Server 15 SP2 libgit2 Affected
SUSE Linux Enterprise Server 15 SP2-LTSS git Affected
SUSE Linux Enterprise Server 15 SP2-LTSS libgit2 Affected
SUSE Linux Enterprise Server 15 SP3 git Affected
SUSE Linux Enterprise Server 15 SP3 libgit2 Affected
SUSE Linux Enterprise Server 15 SP3-LTSS git Affected
SUSE Linux Enterprise Server 15 SP3-LTSS libgit2 Affected
SUSE Linux Enterprise Server 15 SP4 git Affected
SUSE Linux Enterprise Server 15 SP4 libgit2 Affected
SUSE Linux Enterprise Server 15 SP4-LTSS git Affected
SUSE Linux Enterprise Server 15 SP4-LTSS libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 libgit2 Affected
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 git Affected
SUSE CaaS Platform 3.0 git Affected
SUSE CaaS Platform 4.0 git Affected
SUSE CaaS Platform 4.0 libgit2 Affected
SUSE Enterprise Storage 6 git Affected
SUSE Enterprise Storage 6 libgit2 Affected
SUSE Enterprise Storage 7 git Affected
SUSE Enterprise Storage 7 libgit2 Affected
SUSE Linux Enterprise Desktop 12 git Affected
SUSE Linux Enterprise Desktop 12 SP1 git Affected
SUSE Linux Enterprise Desktop 12 SP2 git Affected
SUSE Linux Enterprise Desktop 12 SP3 git Affected
SUSE Linux Enterprise Desktop 12 SP4 git Affected
SUSE Linux Enterprise Desktop 15 git Affected
SUSE Linux Enterprise Desktop 15 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP1 git Affected
SUSE Linux Enterprise Desktop 15 SP1 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP2 git Affected
SUSE Linux Enterprise Desktop 15 SP2 libgit2 Affected
SUSE Linux Enterprise Desktop 15 SP3 git Affected
SUSE Linux Enterprise Desktop 15 SP3 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 git Affected
SUSE Linux Enterprise High Performance Computing 15 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP1 git Affected
SUSE Linux Enterprise High Performance Computing 15 SP1 libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS git Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS git Affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS libgit2 Affected
SUSE Linux Enterprise High Performance Computing 15-LTSS git Affected
SUSE Linux Enterprise High Performance Computing 15-LTSS libgit2 Affected
SUSE Linux Enterprise Module for Basesystem 15 git Affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 git Affected
SUSE Linux Enterprise Module for Development Tools 15 git Affected
SUSE Linux Enterprise Module for Development Tools 15 libgit2 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP1 git Affected
SUSE Linux Enterprise Module for Development Tools 15 SP1 libgit2 Affected
SUSE Linux Enterprise Real Time 15 SP2 git Affected
SUSE Linux Enterprise Real Time 15 SP2 libgit2 Affected
SUSE Linux Enterprise Real Time 15 SP3 git Affected
SUSE Linux Enterprise Real Time 15 SP3 libgit2 Affected
SUSE Linux Enterprise Real Time 15 SP4 git Affected
SUSE Linux Enterprise Real Time 15 SP4 libgit2 Affected
SUSE Linux Enterprise Server 12 git Affected
SUSE Linux Enterprise Server 12 SP1 git Affected
SUSE Linux Enterprise Server 12 SP1-LTSS git Affected
SUSE Linux Enterprise Server 12 SP2 git Affected
SUSE Linux Enterprise Server 12 SP2-BCL git Affected
SUSE Linux Enterprise Server 12 SP2-ESPOS git Affected
SUSE Linux Enterprise Server 12 SP2-LTSS git Affected
SUSE Linux Enterprise Server 12 SP3 git Affected
SUSE Linux Enterprise Server 12 SP3-BCL git Affected
SUSE Linux Enterprise Server 12 SP3-ESPOS git Affected
SUSE Linux Enterprise Server 12 SP3-LTSS git Affected
SUSE Linux Enterprise Server 12 SP4 git Affected
SUSE Linux Enterprise Server 12 SP4-ESPOS git Affected
SUSE Linux Enterprise Server 12 SP4-LTSS git Affected
SUSE Linux Enterprise Server 12-LTSS git Affected
SUSE Linux Enterprise Server 15 git Affected
SUSE Linux Enterprise Server 15 libgit2 Affected
SUSE Linux Enterprise Server 15 SP1 git Affected
SUSE Linux Enterprise Server 15 SP1 libgit2 Affected
SUSE Linux Enterprise Server 15 SP1-BCL git Affected
SUSE Linux Enterprise Server 15 SP1-BCL libgit2 Affected
SUSE Linux Enterprise Server 15 SP1-LTSS git Affected
SUSE Linux Enterprise Server 15 SP1-LTSS libgit2 Affected
SUSE Linux Enterprise Server 15 SP2-BCL git Affected
SUSE Linux Enterprise Server 15 SP2-BCL libgit2 Affected
SUSE Linux Enterprise Server 15 SP3-BCL git Affected
SUSE Linux Enterprise Server 15 SP3-BCL libgit2 Affected
SUSE Linux Enterprise Server 15-LTSS git Affected
SUSE Linux Enterprise Server 15-LTSS libgit2 Affected
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 git Affected
SUSE Linux Enterprise Server for SAP Applications 12 git Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP1 git Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 git Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 git Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 libgit2 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 git Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 libgit2 Affected
SUSE Linux Enterprise Software Development Kit 12 git Affected
SUSE Linux Enterprise Software Development Kit 12 SP1 git Affected
SUSE Linux Enterprise Software Development Kit 12 SP2 git Affected
SUSE Linux Enterprise Software Development Kit 12 SP3 git Affected
SUSE Linux Enterprise Software Development Kit 12 SP4 git Affected
SUSE Manager Proxy 4.0 git Affected
SUSE Manager Proxy 4.0 libgit2 Affected
SUSE Manager Proxy 4.1 git Affected
SUSE Manager Proxy 4.1 libgit2 Affected
SUSE Manager Proxy 4.2 git Affected
SUSE Manager Proxy 4.2 libgit2 Affected
SUSE Manager Retail Branch Server 4.0 git Affected
SUSE Manager Retail Branch Server 4.0 libgit2 Affected
SUSE Manager Retail Branch Server 4.1 git Affected
SUSE Manager Retail Branch Server 4.1 libgit2 Affected
SUSE Manager Retail Branch Server 4.2 git Affected
SUSE Manager Retail Branch Server 4.2 libgit2 Affected
SUSE Manager Server 4.0 git Affected
SUSE Manager Server 4.0 libgit2 Affected
SUSE Manager Server 4.1 git Affected
SUSE Manager Server 4.1 libgit2 Affected
SUSE Manager Server 4.2 git 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 Affected
SUSE OpenStack Cloud 7 git Affected
SUSE OpenStack Cloud 8 git Affected
SUSE OpenStack Cloud 9 git Affected
SUSE OpenStack Cloud Crowbar 8 git Affected
SUSE OpenStack Cloud Crowbar 9 git Affected


SUSE Timeline for this CVE

CVE page created: Wed Feb 7 01:00:13 2024
CVE page last modified: Mon May 20 00:39:02 2024