RUSTSEC-2022-0008
CRITICAL 9.8CVSS 3.1Delegate functions are missing `Send` bound
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 by adding Send bounds.
- Published
- 2 Jan 2022
- Last modified
- 8 Nov 2023
- Weakness
- CWE-820
- Also known as
- GHSA-x4mq-m75f-mx8m
- Sources
- OSV GHSA-x4mq-m75f-mx8mJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | windows | >= 0.1.2, < 0.32.0 | 0.32.0 |
References
- https://github.com/microsoft/windows-rs/issues/1409 · WEB, REPORT
- https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a · WEB
- https://github.com/microsoft/windows-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0008.html · WEB, ADVISORY
- https://crates.io/crates/windows · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)