PT-2020-17521
CVE-2020-35889
·
تاريخ النشر
2020-08-31
·
تاريخ التحديث
2021-08-25
الوصف من
CVSS 3.1
8.1
عاليةالمقاييسAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
crayon crate through 2020-08-31 for Rust
Description
The issue is related to a time-of-check to time-of-use (TOCTOU) bug in the
ObjectPool and HandlePool, which can lead to a memory safety violation via HandleLike. This is because the HandleLike trait methods are assumed to be pure, but this assumption is unsound as HandleLike is a safe, public trait that allows custom implementations.Recommendations
For the crayon crate through 2020-08-31, consider restricting the use of the
ObjectPool and HandlePool until a fix is available, and avoid using custom implementations of the HandleLike trait to minimize the risk of exploitation.
At the moment, there is no information about a newer version that contains a fix for this vulnerability. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾