# CVE-2024-24575: libgit2: This update for libgit2 fixes the following issues:  Update to 1.7.2:  Security fixes:  - CVE-2024-24577: Fixed arbit...

CVE-2024-24575 is fixed in 24 products on 1 platform, first by DEBIAN-CVE-2024-24575, released February 6, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-24575
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0144
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 6, 2024

## Description

This update for libgit2 fixes the following issues:  Update to 1.7.2:  Security fixes:  - CVE-2024-24577: Fixed arbitrary code execution due to heap corruption in git_index_add (bsc#1219660) - CVE-2024-24575: Fixed potential infinite loop condition in git_revparse_single() (bsc#1219664)  Other fixes: - A bug in the smart transport negotiation could have caused an out-of-bounds read when a remote server did not advertise capabilities.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cargo amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | cargo-debuginfo amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | clippy amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | clippy-debuginfo amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | libgit2 Debian 12.15 (bookworm) | 1.5.1+ds-1+deb12u1 | [DEBIAN-CVE-2024-24575](https://patchblox.com/security/data/fix/linux/debian-cve-2024-24575.md) | Feb 6, 2024 |
| Linux | libgit2 Debian 13.5 (trixie) | 1.7.2+ds-1 | [DEBIAN-CVE-2024-24575](https://patchblox.com/security/data/fix/linux/debian-cve-2024-24575.md) | Feb 6, 2024 |
| Linux | libgit2 Debian 14 | 1.7.2+ds-1 | [DEBIAN-CVE-2024-24575](https://patchblox.com/security/data/fix/linux/debian-cve-2024-24575.md) | Feb 6, 2024 |
| Linux | libgit2 amzn 2023 | 1.6.4-115.amzn2023.0.2 | [ALAS2023-2024-541](https://patchblox.com/security/data/fix/linux/alas2023-2024-541.md) | Feb 29, 2024 |
| Linux | libgit2 opensuse-leap 15.6 | 1.7.2-150600.3.3.1 | [SUSE-SU-2024:2584-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2584-1.md) | Jul 22, 2024 |
| Linux | libgit2 sles 15.6 | 1.7.2-150600.3.3.1 | [SUSE-SU-2024:2584-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2584-1.md) | Jul 22, 2024 |
| Linux | libgit2-debuginfo amzn 2023 | 1.6.4-115.amzn2023.0.2 | [ALAS2023-2024-541](https://patchblox.com/security/data/fix/linux/alas2023-2024-541.md) | Feb 29, 2024 |
| Linux | libgit2-debugsource amzn 2023 | 1.6.4-115.amzn2023.0.2 | [ALAS2023-2024-541](https://patchblox.com/security/data/fix/linux/alas2023-2024-541.md) | Feb 29, 2024 |
| Linux | libgit2-devel amzn 2023 | 1.6.4-115.amzn2023.0.2 | [ALAS2023-2024-541](https://patchblox.com/security/data/fix/linux/alas2023-2024-541.md) | Feb 29, 2024 |
| Linux | rust amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-analysis amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-analyzer amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-analyzer-debuginfo amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-debugger-common amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-debuginfo amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-debugsource amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-doc amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-gdb amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-lldb amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-src amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-std-static amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-std-static-wasm32-unknown-unknown amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rust-std-static-wasm32-wasi amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rustfmt amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |
| Linux | rustfmt-debuginfo amzn 2023 | 1.68.2-1.amzn2023.0.5 | [ALAS2023-2024-566](https://patchblox.com/security/data/fix/linux/alas2023-2024-566.md) | Mar 13, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
