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
vulnerability
use-after-free
'static lifetime
waker::wake()
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%