CVE-2024-24577
criticalpriority · track · 40EPSS 0.015 · 75 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.6–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (33)
Products and version ranges known to be affected.
- Dell PowerProtect Data Domain Management Centerall versionscert_bundDEcpe:/a:dell:powerprotect_data_domain_management_center:-
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0225Dell PowerProtect Data Domain: Mehrere SchwachstellenDeutsch2025-01-30csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Dell PowerProtect Data Domain ausnutzen, um erhöhte Rechte zu erlangen, einen Denial-of-Service-Zustand herbeizuführen und einen nicht näher spezifizierten Angriff durchzuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-24577/cnnvd
- https://github.com/libgit2/libgit2/releases/tag/v1.6.5cnnvd
- https://github.com/libgit2/libgit2/releases/tag/v1.7.2cnnvd
- https://github.com/libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8cnnvd
- https://vigilance.fr/vulnerability/libgit2-use-after-free-via-has-dir-name-43473cnnvd
- https://github.com/libgit2/libgit2/releases/tag/v1.6.5enisa_euvd
- https://github.com/libgit2/libgit2/releases/tag/v1.7.2enisa_euvd
- https://github.com/libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan