Lucene search

K
rustsecRustsecRUSTSEC-2021-0086
HistoryJan 07, 2021 - 12:00 p.m.

`Read` on uninitialized buffer may cause UB ( `read_entry()` )

2021-01-0712:00:00
rustsec.org
4

0.002 Low

EPSS

Percentile

59.7%

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation.
There are two of such cases (go_offset_log::read_entry() & offset_log::read_entry()).

Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.
Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.

CPENameOperatorVersion
flumedblt0.1.6

0.002 Low

EPSS

Percentile

59.7%

Related for RUSTSEC-2021-0086