CVEvulnerability
CVE-2020-25576
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2020-09-14
- Last modified
- 2026-08-19
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-704
Description
An issue was discovered in the rand_core crate before 0.4.2 for Rust. Casting of byte slices to integer slices mishandles alignment constraints.
Affected configurations
• rust-random rand (< 0.4.2)
Related
Weakness · CWE (1)
- CWE-704 Incorrect Type Conversion or Cast weakness
References
- https://rustsec.org/advisories/RUSTSEC-2019-0035.html Vendor Advisory
- https://rustsec.org/advisories/RUSTSEC-2019-0035.html Vendor Advisory