{"id":"GHSA-x4mq-m75f-mx8m","aliases":["RUSTSEC-2022-0008"],"status":"published","title":"Delegate functions are missing `Send` bound","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-820"],"published":"2022-01-02T12:00:00Z","modified":"2023-11-08T04:24:10Z","fixes":[{"ecosystem":"crates.io","package":"windows","fixed_in":["0.32.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"windows","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.2"},{"fixed":"0.32.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"windows","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.2"},{"fixed":"0.32.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"windows","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.2"},{"fixed":"0.32.0"}]}]}],"references":[{"url":"https://github.com/microsoft/windows-rs/issues/1409","tags":["web","report"]},{"url":"https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0008.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-x4mq-m75f-mx8m"},{"url":"https://github.com/microsoft/windows-rs","tags":["package"]},{"url":"https://crates.io/crates/windows","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-x4mq-m75f-mx8m","title":"Delegate functions are missing `Send` bound","description":"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.","status":"published","published":"2022-06-17T00:30:33Z","modified":"2023-01-12T05:01:00Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-820"],"updated_at":"2026-11-02T14:36:13.23016Z"}],"osv":[{"id":"GHSA-x4mq-m75f-mx8m","title":"Delegate functions are missing `Send` bound","description":"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.","status":"published","published":"2022-06-17T00:30:33Z","modified":"2023-11-08T04:24:10.132668Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-820"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"RUSTSEC-2022-0008","title":"Delegate functions are missing `Send` bound","description":"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.","status":"published","published":"2022-01-02T12:00:00Z","modified":"2023-11-08T04:24:10.132668Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
