Lucene search

K
rustsecRustsecRUSTSEC-2020-0046
HistoryJan 08, 2020 - 12:00 p.m.

bespoke Cell implementation allows obtaining several mutable references to the same data

2020-01-0812:00:00
rustsec.org
10

EPSS

0

Percentile

12.8%

The custom implementation of a Cell primitive in the affected versions of this crate
does not keep track of mutable references to the underlying data.

This allows obtaining several mutable references to the same object
which may result in arbitrary memory corruption, most likely use-after-free.

The flaw was corrected by switching from a bespoke Cell<T> implementation to Rc<RefCell<T>>.

EPSS

0

Percentile

12.8%

Related for RUSTSEC-2020-0046