GHSA-r93v-9p5q-vhpfHighCVSS 7.8

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

Published
May 24, 2022
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • rust/futures-task:>= 0.2.1, < 0.3.6

🔗 References (4)