GHSA-r93v-9p5q-vhpf
Dashboard / Vulnerabilities / GHSA-r93v-9p5q-vhpf
GHSA-r93v-9p5q-vhpf
Published: 24 May 2022Last Modified: 30 Oct 2025
Aliases:
Summary: futures_task::waker may cause a use-after-free if used on a type that isn't 'static
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-35906, https://github.com/rust-lang/futures-rs/pull/2206, https://github.com/rust-lang/futures-rs, https://rustsec.org/advisories/RUSTSEC-2020-0060.html
Affected packages
Package
Name: futures-task
Purl: pkg:cargo/futures-task
Affected ranges
Type: SEMVER
Events:
Introduced- 0.2.1
Fixed -0.3.6
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
