PT-2021-24268

CVE-2021-45694

·

تاريخ النشر

2021-02-03

·

تاريخ التحديث

2022-06-17

الوصف من

CVSS 3.1
7.5
عالية
المقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: rdiff crate versions through 0.1.2
Description: The issue arises when the rdiff crate uses the return value of a Read instance to set the length of its internal character vector. If the Read implementation claims to have read more bytes than the length of the provided buffer, the length of the vector will be set to longer than its capacity. This causes rdiff APIs to return uninitialized memory in its API methods. The rdiff crate performs a diff of two provided strings or files.
Recommendations: For versions through 0.1.2, as a temporary workaround, consider restricting the use of the rdiff crate until a patch is available. Avoid using the rdiff APIs that return uninitialized memory to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this issue.
قابلية الاستغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-2RXC-8F9W-FJQ8
GHSA-Q579-9WP9-GFP2
RUSTSEC-2021-0094
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾