CVE-2020-35906

HIGH7.8EPSS 0.06%

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

Published: 5/24/2022Modified: 11/8/2023
Also known as:GHSA-r93v-9p5q-vhpfRUSTSEC-2020-0060

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 packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References (5)