CVE-2020-35926
CRITICALnanorand < 0.5.1 - Incorrect Conversion between Numeric Types
Title source: llmDescription
An issue was discovered in the nanorand crate before 0.5.1 for Rust. It caused any random number generator (even ChaCha) to return all zeroes because integer truncation was mishandled.
References (1)
Core 1
Core References
Third Party Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2020-0089.html
Scores
CVSS v3
9.8
EPSS
0.0152
EPSS Percentile
72.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-330
CWE-681
Status
published
Products (2)
crates.io/nanorand
0 - 0.5.1crates.io
nanorand_project/nanorand
< 0.5.1
Published
Dec 31, 2020
Tracked Since
Feb 18, 2026