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.
Configurations

Configuration 1 (hide)

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

History

21 Nov 2024, 05:28

Type Values Removed Values Added
References () https://rustsec.org/advisories/RUSTSEC-2020-0089.html - Third Party Advisory () https://rustsec.org/advisories/RUSTSEC-2020-0089.html - Third Party Advisory

Information

Published : 2020-12-31 09:15

Updated : 2024-11-21 05:28


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