CVSS 3.1 Score 8.6 of 10 (high)


Published Feb 6, 2024
Updated: Feb 27, 2024
CWE ID 119
CWE ID 122


CVE-2024-24577 is a vulnerability affecting the libgit2 library, which is a portable C implementation of the Git core methods. The vulnerability can be exploited through the `git_index_add` function, leading to heap corruption and potentially allowing arbitrary code execution. The issue is caused by an error in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed, resulting in controlled heap corruption. This vulnerability affects various products that use libgit2. It has been patched in versions 1.6.5 and 1.7.2. The potential danger to organizations is significant, as arbitrary code execution can lead to unauthorized access and control of affected systems.

Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.


Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-24577 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions