futures-task
Affected
- introduced
0.2.2-0, fixed0.3.6(semver)
Fixed versions
0.3.6
Fix
- Fixed version
0.3.6cargo update -p futures-task --precise 0.3.6
Advisory
Also known as: CVE-2020-35906, GHSA-r93v-9p5q-vhpf
futures_task::waker may cause a use-after-free if used on a type that isn't 'static
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.
High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
0.2.2-0, fixed 0.3.6 (semver)0.3.6
0.3.6cargo update -p futures-task --precise 0.3.6Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0