{"id":"RUSTSEC-2020-0060","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.\nThis resulted in a use-after-free if `Waker::wake()` is called after original data had been dropped.\n\nThe flaw was corrected by adding `'static` lifetime bound to the data `waker` takes.","aliases":["CVE-2020-35906","GHSA-r93v-9p5q-vhpf"],"modified":"2023-11-08T04:03:38.611050Z","published":"2020-09-04T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/futures-task"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0060.html"},{"type":"WEB","url":"https://github.com/rust-lang/futures-rs/pull/2206"}],"affected":[{"package":{"name":"futures-task","ecosystem":"crates.io","purl":"pkg:cargo/futures-task"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.2-0"},{"fixed":"0.3.6"}]}],"ecosystem_specific":{"affects":{"os":[],"functions":["futures_task::waker"],"arch":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0060.json","cvss":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","informational":null,"categories":["code-execution","memory-corruption"]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}