RUSTSEC-2020-0060
Dashboard / Vulnerabilities / RUSTSEC-2020-0060
RUSTSEC-2020-0060
Published: 4 Sept 2020Last Modified: 8 Nov 2023
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://crates.io/crates/futures-task, https://rustsec.org/advisories/RUSTSEC-2020-0060.html, https://github.com/rust-lang/futures-rs/pull/2206
Affected packages
Package
Name: futures-task
Purl: pkg:cargo/futures-task
Affected ranges
Type: SEMVER
Events:
Introduced- 0.2.2-0
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
