# GHSA-x4mq-m75f-mx8m: Delegate functions are missing `Send` bound

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-01-02T12:00:00.000Z
- Modified: 2023-11-08T04:24:10.132Z
- Also known as: RUSTSEC-2022-0008
- Weaknesses: CWE-820

## 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.

The flaw was corrected in commit [afe3252](https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a) by adding `Send` bounds.

(As written by GitHub Advisory Database.)

## Affected

- windows (crates.io): from 0.1.2 before 0.32.0

## References

- <https://github.com/microsoft/windows-rs/issues/1409> (report, web)
- <https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a> (web)
- <https://github.com/microsoft/windows-rs> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0008.html> (advisory, web)
- <https://crates.io/crates/windows> (package)

## Sources

- GitHub Advisory Database: [GHSA-x4mq-m75f-mx8m](https://github.com/advisories/GHSA-x4mq-m75f-mx8m), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2022-0008](https://rustsec.org/advisories/RUSTSEC-2022-0008.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-x4mq-m75f-mx8m · Whole record: https://cve.day/GHSA-x4mq-m75f-mx8m.json · Rebuilt by cve.day 2026-11-25T22:56:43.090Z
