Lucene search

K
osvGoogleOSV:GHSA-R93V-9P5Q-VHPF
HistoryMay 24, 2022 - 5:37 p.m.

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

2022-05-2417:37:49
Google
osv.dev
4

0.001 Low

EPSS

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.

CPENameOperatorVersion
futures-tasklt0.3.6
futures-taskge0.2.1

0.001 Low

EPSS

Percentile

20.2%