PT-2020-17582
CVE-2020-36210
·
تاريخ النشر
2020-12-31
·
تاريخ التحديث
2021-08-25
الوصف من
CVSS 3.1
7.8
عاليةالمقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
autorand crate versions prior to 0.2.3
Description
An issue in the autorand crate for Rust can lead to memory corruption due to the dropping of uninitialized memory when a panic occurs. This happens because of the implementation of Random on arrays. The problem arises when a user-provided function,
T::random(), panics and drops a partially uninitialized array of T, potentially causing memory corruption or undefined behavior.Recommendations
For versions prior to 0.2.3, update to version 0.2.3 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the
random() function in user-provided code until the update is applied. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾