PT-2021-24279 · Nanorand · Nanorand

Absolucy

·

Published

2021-09-23

·

Updated

2022-06-17

·

CVE-2021-45705

CVSS v3.1

9.8

Critical

VectorAV: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.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2021-45705
GHSA-P6GJ-GPC8-F8XW
GHSA-R57R-J98G-587F
RUSTSEC-2021-0114

Affected Products

Nanorand