RUSTSEC-2019-0035
Unaligned memory access
- Reported
-
- Issued
-
- Package
-
rand_core
(crates.io)
- Type
-
INFO
Unsound
- Aliases
-
- References
-
- CVSS Score
- 9.8
CRITICAL
- CVSS Details
-
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- CVSS Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Patched
-
- Affected Functions
- Version
rand_core::BlockRng::fill_bytes
-
rand_core::BlockRng::next_u64
-
Description
Affected versions of this crate violated alignment when casting byte slices to
integer slices, resulting in undefined behavior.
The flaw was corrected by Ralf Jung and Diggory Hardy.
Advisory available under CC0-1.0
license.