{"id":"GHSA-x4mq-m75f-mx8m","aliases":["GHSA-x4mq-m75f-mx8m","RUSTSEC-2022-0008"],"related":[],"kind":"vulnerability","state":"published","title":"Delegate functions are missing `Send` bound","summary":"Affected versions of this crate did not require event handlers to have `Send` bound despite there being no guarantee of them being called on any particular thread, which can potentially lead to data races and undefined behavior.\n\nThe flaw was corrected in commit [afe3252](https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a) by adding `Send` bounds.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Affected versions of this crate did not require event handlers to have `Send` bound despite there being no guarantee of them being called on any particular thread, which can potentially lead to data races and undefined behavior.\n\nThe flaw was corrected in commit [afe3252](https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a) by adding `Send` bounds.","format":"markdown","source":"ghsa"}],"published":"2022-01-02T12:00:00.000Z","modified":"2023-11-08T04:24:10.132Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-820"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.2","status":"affected","fixed":"0.32.0"}],"ecosystem":"crates.io","package":"windows","purl":"pkg:cargo/windows","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.2","status":"affected","fixed":"0.32.0"}],"ecosystem":"crates.io","package":"windows","purl":"pkg:cargo/windows","source":"rustsec"}],"references":[{"url":"https://github.com/microsoft/windows-rs/issues/1409","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/microsoft/windows-rs","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0008.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/windows","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x4mq-m75f-mx8m","url":"https://github.com/advisories/GHSA-x4mq-m75f-mx8m","licence":"CC-BY-4.0","modified":"2023-11-08T04:24:10.132Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0008","url":"https://rustsec.org/advisories/RUSTSEC-2022-0008.html","licence":"CC0-1.0","modified":"2023-11-08T04:24:10.132Z"}],"updatedAt":"2026-11-25T22:56:43.090Z"}