PT-2024-1690
CVE-2024-24575
·
تاريخ النشر
2024-02-06
·
تاريخ التحديث
2026-10-31
الوصف من
CVSS 3.1
8.6
عاليةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Name of the Vulnerable Software and Affected Versions
libgit2 versions prior to 1.7.2
Description
The issue is related to the
git revparse single function, which can enter an infinite loop when provided with well-crafted inputs, potentially causing a Denial of Service attack. The revparse function in src/libgit2/revparse.c uses a loop to parse the user-provided spec string, and there is an edge-case that allows a bad actor to force the loop conditions to access arbitrary memory, potentially leading to memory leaks.Recommendations
For libgit2 versions prior to 1.7.2, upgrade to version 1.7.2 to resolve the issue. As a temporary workaround, consider restricting the use of the
git revparse single function to minimize the risk of exploitation. Avoid using the git revparse single function with untrusted input until the issue is resolved.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾