PT-2020-17558

CVE-2020-35926

·

Published

2020-12-09

·

Updated

2021-08-25

Description by

CVSS 2.0
7.5
High
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions nanorand versions prior to 0.5.1
Description An issue in the nanorand crate caused random number generators, including the cryptographically secure ChaCha, to return all zeroes due to mishandled integer truncation. This occurred because the implementation used bit-shifting to truncate a 64-bit number instead of an as conversion, leading to improper number generation.
Recommendations For versions prior to 0.5.1, update to version 0.5.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of random number generators that rely on the affected RandomGen implementations until a patch is available.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-M9M5-CG5H-R582
RUSTSEC-2020-0089
Found an issue in the description? Have something to add? Feel free to write us 👾