Lucene search

K
osvGoogleOSV:RUSTSEC-2020-0150
HistoryDec 17, 2020 - 12:00 p.m.

RingBuffer can create multiple mutable references and cause data races

2020-12-1712:00:00
Google
osv.dev
6
ringbuffer
mutable references
dataprovider
non-atomic
data races
send trait
sync trait

EPSS

0.001

Percentile

45.7%

The RingBuffer type retrieves mutable references from the DataProvider in a
non-atomic manner, potentially allowing the creation of multiple mutable
references. RingBuffer also implements the Send and Sync traits for all
types T.

This allows undefined behavior from the aliased mutable references as well
as data races.

EPSS

0.001

Percentile

45.7%

Related for OSV:RUSTSEC-2020-0150