CVE-2020-35926

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
Link Resource
https://rustsec.org/advisories/RUSTSEC-2020-0089.html Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:nanorand_project:nanorand:*:*:*:*:*:rust:*:*

History

06 Jan 2021, 19:58

Type Values Removed Values Added
CPE cpe:2.3:a:nanorand_project:nanorand:*:*:*:*:*:rust:*:*
References (MISC) https://rustsec.org/advisories/RUSTSEC-2020-0089.html - (MISC) https://rustsec.org/advisories/RUSTSEC-2020-0089.html - Third Party Advisory
CWE CWE-338
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8

31 Dec 2020, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2020-12-31 09:15

Updated : 2023-12-10 13:41


NVD link : CVE-2020-35926

Mitre link : CVE-2020-35926

CVE.ORG link : CVE-2020-35926


JSON object : View

Products Affected

nanorand_project

  • nanorand
CWE
CWE-330

Use of Insufficiently Random Values

CWE-681

Incorrect Conversion between Numeric Types