Lucene search

K
rustsecRustsecRUSTSEC-2020-0060
HistorySep 04, 2020 - 12:00 p.m.

futures_task::waker may cause a use-after-free if used on a type that isn't 'static

2020-09-0412:00:00
rustsec.org
3
use-after-free
waker::wake()
'static lifetime bound
affected versions
flaw
corrected
software

EPSS

0.001

Percentile

20.2%

Affected versions of the crate did not properly implement a 'static lifetime bound on the waker function.
This resulted in a use-after-free if Waker::wake() is called after original data had been dropped.

The flaw was corrected by adding 'static lifetime bound to the data waker takes.

EPSS

0.001

Percentile

20.2%