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: Analysis

This issue is currently rated as having critical severity.

CVSS v3 Scores
  National Vulnerability Database
Base Score 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 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 Analysis
SUSE Enterprise Storage 7.1 libgit2 Analysis
SUSE Linux Enterprise Desktop 15 SP5 git Analysis
SUSE Linux Enterprise Desktop 15 SP5 libgit2 Analysis
SUSE Linux Enterprise Desktop 15 SP6 git Analysis
SUSE Linux Enterprise Desktop 15 SP6 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 12 SP5 git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5 git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP6 git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP6 libgit2 Analysis
SUSE Linux Enterprise Micro 5.5 git Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP5 git Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP6 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP5 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP5 libgit2 Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP6 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP6 libgit2 Analysis
SUSE Linux Enterprise Real Time 15 SP3 git Analysis
SUSE Linux Enterprise Real Time 15 SP3 libgit2 Analysis
SUSE Linux Enterprise Server 12 SP5 git Analysis
SUSE Linux Enterprise Server 12 SP5 libgit2 Analysis
SUSE Linux Enterprise Server 12-LTSS git Analysis
SUSE Linux Enterprise Server 15 SP5 git Analysis
SUSE Linux Enterprise Server 15 SP5 libgit2 Analysis
SUSE Linux Enterprise Server 15 SP6 git Analysis
SUSE Linux Enterprise Server 15 SP6 libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP5 git Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP5 libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP4 git Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP4 libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP5 git Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP5 libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP6 git Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP6 libgit2 Analysis
SUSE Linux Enterprise Software Development Kit 12 SP5 git Analysis
SUSE Linux Enterprise Software Development Kit 12 SP5 libgit2 Analysis
SUSE Manager Proxy 4.3 git Analysis
SUSE Manager Proxy 4.3 libgit2 Analysis
SUSE Manager Retail Branch Server 4.3 git Analysis
SUSE Manager Retail Branch Server 4.3 libgit2 Analysis
SUSE Manager Server 4.3 git Analysis
SUSE Manager Server 4.3 libgit2 Analysis
SUSE Manager Server Module 4.3 libgit2 Analysis
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 git Analysis
SUSE Linux Enterprise Desktop 15 SP4 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 git Analysis
SUSE Linux Enterprise High Performance Computing 15 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1 git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2 git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3 git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4 git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4 libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS git Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15-ESPOS git Analysis
SUSE Linux Enterprise High Performance Computing 15-ESPOS libgit2 Analysis
SUSE Linux Enterprise High Performance Computing 15-LTSS git Analysis
SUSE Linux Enterprise High Performance Computing 15-LTSS libgit2 Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP2 git Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP3 git Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP4 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP2 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP2 libgit2 Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP3 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP3 libgit2 Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP4 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP4 libgit2 Analysis
SUSE Linux Enterprise Server 15 SP2 git Analysis
SUSE Linux Enterprise Server 15 SP2 libgit2 Analysis
SUSE Linux Enterprise Server 15 SP2-LTSS git Analysis
SUSE Linux Enterprise Server 15 SP2-LTSS libgit2 Analysis
SUSE Linux Enterprise Server 15 SP3 git Analysis
SUSE Linux Enterprise Server 15 SP3 libgit2 Analysis
SUSE Linux Enterprise Server 15 SP3-LTSS git Analysis
SUSE Linux Enterprise Server 15 SP3-LTSS libgit2 Analysis
SUSE Linux Enterprise Server 15 SP4 git Analysis
SUSE Linux Enterprise Server 15 SP4 libgit2 Analysis
SUSE Linux Enterprise Server 15 SP4-LTSS git Analysis
SUSE Linux Enterprise Server 15 SP4-LTSS libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 15 git Analysis
SUSE Linux Enterprise Server for SAP Applications 15 libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP1 git Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP1 libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP2 git Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP2 libgit2 Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP3 git Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP3 libgit2 Analysis
SUSE OpenStack Cloud 8 git Analysis
SUSE OpenStack Cloud 9 git Analysis
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 git Analysis
SUSE CaaS Platform 3.0 git Analysis
SUSE CaaS Platform 4.0 git Analysis
SUSE CaaS Platform 4.0 libgit2 Analysis
SUSE Enterprise Storage 6 git Analysis
SUSE Enterprise Storage 6 libgit2 Analysis
SUSE Enterprise Storage 7 git Analysis
SUSE Enterprise Storage 7 libgit2 Analysis
SUSE Linux Enterprise Desktop 12 git Analysis
SUSE Linux Enterprise Desktop 12 SP1 git Analysis
SUSE Linux Enterprise Desktop 12 SP2 git Analysis
SUSE Linux Enterprise Desktop 12 SP3 git Analysis
SUSE Linux Enterprise Desktop 12 SP4 git Analysis
SUSE Linux Enterprise Desktop 15 git Analysis
SUSE Linux Enterprise Desktop 15 libgit2 Analysis
SUSE Linux Enterprise Desktop 15 SP1 git Analysis
SUSE Linux Enterprise Desktop 15 SP1 libgit2 Analysis
SUSE Linux Enterprise Desktop 15 SP2 git Analysis
SUSE Linux Enterprise Desktop 15 SP2 libgit2 Analysis
SUSE Linux Enterprise Desktop 15 SP3 git Analysis
SUSE Linux Enterprise Desktop 15 SP3 libgit2 Analysis
SUSE Linux Enterprise Module for Basesystem 15 git Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP1 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 libgit2 Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP1 git Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP1 libgit2 Analysis
SUSE Linux Enterprise Real Time 15 SP2 git Analysis
SUSE Linux Enterprise Real Time 15 SP2 libgit2 Analysis
SUSE Linux Enterprise Real Time 15 SP4 git Analysis
SUSE Linux Enterprise Real Time 15 SP4 libgit2 Analysis
SUSE Linux Enterprise Server 12 git Analysis
SUSE Linux Enterprise Server 12 SP1 git Analysis
SUSE Linux Enterprise Server 12 SP1-LTSS git Analysis
SUSE Linux Enterprise Server 12 SP2 git Analysis
SUSE Linux Enterprise Server 12 SP2-BCL git Analysis
SUSE Linux Enterprise Server 12 SP2-ESPOS git Analysis
SUSE Linux Enterprise Server 12 SP2-LTSS git Analysis
SUSE Linux Enterprise Server 12 SP3 git Analysis
SUSE Linux Enterprise Server 12 SP3-BCL git Analysis
SUSE Linux Enterprise Server 12 SP3-ESPOS git Analysis
SUSE Linux Enterprise Server 12 SP3-LTSS git Analysis
SUSE Linux Enterprise Server 12 SP4 git Analysis
SUSE Linux Enterprise Server 12 SP4-ESPOS git Analysis
SUSE Linux Enterprise Server 12 SP4-LTSS git Analysis
SUSE Linux Enterprise Server 15 git Analysis
SUSE Linux Enterprise Server 15 libgit2 Analysis
SUSE Linux Enterprise Server 15 SP1 git Analysis
SUSE Linux Enterprise Server 15 SP1 libgit2 Analysis
SUSE Linux Enterprise Server 15 SP1-BCL git Analysis
SUSE Linux Enterprise Server 15 SP1-BCL libgit2 Analysis
SUSE Linux Enterprise Server 15 SP1-LTSS git Analysis
SUSE Linux Enterprise Server 15 SP1-LTSS libgit2 Analysis
SUSE Linux Enterprise Server 15 SP2-BCL git Analysis
SUSE Linux Enterprise Server 15 SP2-BCL libgit2 Analysis
SUSE Linux Enterprise Server 15 SP3-BCL git Analysis
SUSE Linux Enterprise Server 15 SP3-BCL libgit2 Analysis
SUSE Linux Enterprise Server 15-LTSS git Analysis
SUSE Linux Enterprise Server 15-LTSS libgit2 Analysis
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 git Analysis
SUSE Linux Enterprise Server for SAP Applications 12 git Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP1 git Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP2 git Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP3 git Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP4 git Analysis
SUSE Linux Enterprise Software Development Kit 12 git Analysis
SUSE Linux Enterprise Software Development Kit 12 SP1 git Analysis
SUSE Linux Enterprise Software Development Kit 12 SP2 git Analysis
SUSE Linux Enterprise Software Development Kit 12 SP3 git Analysis
SUSE Linux Enterprise Software Development Kit 12 SP4 git Analysis
SUSE Manager Proxy 4.0 git Analysis
SUSE Manager Proxy 4.0 libgit2 Analysis
SUSE Manager Proxy 4.1 git Analysis
SUSE Manager Proxy 4.1 libgit2 Analysis
SUSE Manager Proxy 4.2 git Analysis
SUSE Manager Proxy 4.2 libgit2 Analysis
SUSE Manager Retail Branch Server 4.0 git Analysis
SUSE Manager Retail Branch Server 4.0 libgit2 Analysis
SUSE Manager Retail Branch Server 4.1 git Analysis
SUSE Manager Retail Branch Server 4.1 libgit2 Analysis
SUSE Manager Retail Branch Server 4.2 git Analysis
SUSE Manager Retail Branch Server 4.2 libgit2 Analysis
SUSE Manager Server 4.0 git Analysis
SUSE Manager Server 4.0 libgit2 Analysis
SUSE Manager Server 4.1 git Analysis
SUSE Manager Server 4.1 libgit2 Analysis
SUSE Manager Server 4.2 git Analysis
SUSE Manager Server 4.2 libgit2 Analysis
SUSE Manager Server Module 4.0 libgit2 Analysis
SUSE Manager Server Module 4.1 libgit2 Analysis
SUSE Manager Server Module 4.2 libgit2 Analysis
SUSE OpenStack Cloud 7 git Analysis
SUSE OpenStack Cloud Crowbar 8 git Analysis
SUSE OpenStack Cloud Crowbar 9 git Analysis


SUSE Timeline for this CVE

CVE page created: Wed Feb 7 01:00:13 2024
CVE page last modified: Mon Apr 15 16:28:49 2024