PT-2021-24279
CVE-2021-45705
·
Published
2021-09-23
·
Updated
2022-06-17
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions:
nanorand crate versions prior to 0.6.1
Description:
The issue arises from the
TlsWyRand implementation of Deref, which unconditionally dereferences a raw pointer and returns multiple mutable references to the same object. This behavior is undefined and can lead to unpredictable outcomes.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 restricting the use of
TlsWyRand to minimize the risk of exploitation. Found an issue in the description? Have something to add? Feel free to write us 👾