Description
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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0089.htmlThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2020-0089.htmlThird Party Advisory
Timeline
- Published
- Dec 31, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified