Lucene search

K
osvGoogleOSV:RUSTSEC-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
Google
osv.dev
4
use-after-free
'static' lifetime
waker::wake()
corrected flaw
data waker

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%