CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in libgit2 libgit2. EPSS 1.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2024-24577 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-24577?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-24577?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-24577 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libgit2:libgit2 | before 1.6.5 |
| libgit2:libgit2 | from 1.7.0 before 1.7.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | libgit2 | 0.27.7+dfsg.1-0.2+deb10u2 | DLA-3742-1 |
| Debian | 11 | libgit2 | 1.1.0+dfsg.1-4+deb11u2 | DSA-5619-1 |
| Debian | 12 | libgit2 | 1.5.1+ds-1+deb12u1 | DEBIAN-CVE-2024-24577 DSA-5619-1 |
| Debian | 13, 14 | libgit2 | 1.7.2+ds-1 | DEBIAN-CVE-2024-24577 |
| Ubuntu | 20.04:LTS | libgit2 | 0.28.4+dfsg.1-2ubuntu0.1 | UBUNTU-CVE-2024-24577 USN-6678-1 |
| Ubuntu | 22.04:LTS | libgit2 | 1.1.0+dfsg.1-4.1ubuntu0.1 | UBUNTU-CVE-2024-24577 USN-6678-1 |
| Ubuntu | Pro:16.04:LTS | libgit2 | 0.24.1-2ubuntu0.2+esm2 | UBUNTU-CVE-2024-24577 USN-6678-1 |
| Ubuntu | Pro:18.04:LTS | libgit2 | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | UBUNTU-CVE-2024-24577 USN-6678-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 5 more | libgit2 | 0.28.4-150200.3.9.1 | SUSE-SU-2024:2610-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 more | git | 2.35.3-150300.10.42.1 | SUSE-SU-2024:2656-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2 | git | 2.26.2-150000.59.1 | SUSE-SU-2024:2599-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2 | libgit2 | 0.26.8-150000.3.21.1 | SUSE-SU-2024:2598-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Development Tools 15 SP5 and 2 more | libgit2 | 1.3.0-150400.3.9.1 | SUSE-SU-2024:2619-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Development Tools 15 SP6 | git | 2.43.0-150600.3.6.1 | SUSE-SU-2024:2579-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP6 | libgit2 | 1.7.2-150600.3.3.1 | SUSE-SU-2024:2584-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | git | 2.26.2-27.75.1 | SUSE-SU-2024:2592-1 |
| SUSE | Linux Enterprise Software Development Kit 12 SP5 | libgit2 | 0.24.1-11.5.1 | SUSE-SU-2024:2583-1 |
| SUSE | Linux Micro 6.0 | git | 2.51.0-1.1 | SUSE-SU-2025:20721-1 |
| openSUSE | Leap 15.5 | libgit2 | 1.3.0-150400.3.9.1 | SUSE-SU-2024:2619-1 |
| openSUSE | Leap 15.5, Leap Micro 5.5 | git | 2.35.3-150300.10.42.1 | SUSE-SU-2024:2656-1 |
| openSUSE | Leap 15.6 | git | 2.43.0-150600.3.6.1 | SUSE-SU-2024:2579-1 |
| openSUSE | Leap 15.6 | libgit2 | 1.7.2-150600.3.3.1 | SUSE-SU-2024:2584-1 |
| openSUSE | Tumbleweed | git | 2.45.2-2.1 | openSUSE-SU-2024:14212-1 |
| openSUSE | Tumbleweed | libgit2 | 1.7.2-1.1 | openSUSE-SU-2024:13661-1 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | libgit2 | 1.7.2-r0 | ALPINE-CVE-2024-24577 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | eza | 0.18.2-r0 | ALPINE-CVE-2024-24577 |
| Azure Linux | 2 | libgit2 | 1.6.5-1 | AZL-34274 |
| Alpaquita | stream | libgit2 | 1.7.2-r0 | BELL-CVE-2024-24577 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Important.
Cargo in Red Hat Enterprise Linux 8 & 9 does use a bundled libgit2. However, cargo does not call git_index_add directly, and the only indirect call I can find is via git_reset, which does not involve any externally-provided paths. Therefore, Red Hat Enterprise Linux should be Not Affected by this CVE.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libgit2 | Not affected | |
| Red Hat Enterprise Linux 8 | libgit2 | Not affected | |
| Red Hat Enterprise Linux 8 | rust-toolset:rhel8/rust | Not affected | |
| Red Hat Enterprise Linux 9 | rust | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-24577.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).