Lucene search

K
osvGoogleOSV:GHSA-W7J2-35MF-95P7
HistoryAug 25, 2021 - 8:52 p.m.

Incorrect check on buffer length in rand_core

2021-08-2520:52:16
Google
osv.dev
8

0.002 Low

EPSS

Percentile

60.7%

An issue was discovered in the rand_core crate before 0.6.2 for Rust. Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data. The vulnerability was introduced in v0.6.0. The advisory doesn’t apply to earlier minor version numbers.

Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data.

CPENameOperatorVersion
rand_corelt0.6.2
rand_corege0.6.0

0.002 Low

EPSS

Percentile

60.7%