PT-2021-17722
CVE-2021-28034
·
تاريخ النشر
2021-02-22
·
تاريخ التحديث
2021-09-01
الوصف من
CVSS 3.1
9.8
حرجةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions:
stack dst versions prior to 0.6.1
Description:
An issue in the stack dst crate for Rust can cause a double free to occur when a val.clone() panic happens due to the push inner behavior. This can lead to the stack dropping an already dropped element or dropping uninitialized memory. The issue was fixed by changing the order of operations in the push inner function to increase the length of the array after elements are cloned.
Recommendations:
For versions prior to 0.6.1, update to version 0.6.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the push inner function until a patch is available. Restrict access to the val.clone() call to minimize the risk of exploitation.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾