PT-2024-1689
CVE-2024-24577
·
تاريخ النشر
2024-02-06
·
تاريخ التحديث
2026-10-31
الوصف من
CVSS 3.1
10
حرجةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
libgit2 versions prior to 1.6.5
libgit2 versions prior to 1.7.2
Description
The issue is related to a heap corruption vulnerability in the
has dir name function in src/libgit2/index.c, which can be exploited for arbitrary code execution. This can occur when using well-crafted inputs to git index add, allowing a remote attacker to potentially execute arbitrary code. The vulnerability is due to the freeing of an entry that should not be freed, which is later used and overwritten with potentially bad actor-controlled data, leading to controlled heap corruption.Recommendations
For versions prior to 1.6.5, update to version 1.6.5 or later.
For versions prior to 1.7.2, update to version 1.7.2 or later.
As a temporary workaround, consider restricting the use of the
git index add function until a patch is available.
Avoid using the has dir name function in src/libgit2/index.c until the issue is resolved.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾