PT-2021-17723
CVE-2021-28035
·
تاريخ النشر
2021-02-22
·
تاريخ التحديث
2022-07-12
الوصف من
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 was discovered in the stack dst crate for Rust. The
push inner function increases the internal length of the array and then calls val.clone(). If the val.clone() call panics, the stack could drop an already dropped element or drop uninitialized memory.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 modifying the
push inner function to increase the length of the array after elements are cloned, similar to the fix implemented in 2a4d538. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾