nanorand
Affected
- introduced
0, fixed0.5.1(semver)
Fixed versions
0.5.1
Fix
- Fixed version
0.5.1cargo update -p nanorand --precise 0.5.1
Advisory
Also known as: CVE-2020-35926, RUSTSEC-2020-0089
Improper random number generation in nanorand
In versions of nanorand prior to 0.5.1, RandomGen implementations for standard unsigned integers could fail to properly generate numbers, due to using bit-shifting to truncate a 64-bit number, rather than just an as conversion. This often manifested as RNGs returning nothing but 0, including the cryptographically secure ChaCha random number generator.
Medium Basis: The source's own band: MODERATE
0, fixed 0.5.1 (semver)0.5.1
0.5.1cargo update -p nanorand --precise 0.5.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0