diff --git a/crates/RUSTSEC-2022-0008.json b/crates/RUSTSEC-2022-0008.json new file mode 100644 index 000000000..0fa24e9f7 --- /dev/null +++ b/crates/RUSTSEC-2022-0008.json @@ -0,0 +1,62 @@ +{ + "id": "RUSTSEC-2022-0008", + "modified": "2022-02-04T15:22:53Z", + "published": "2022-01-02T12:00:00Z", + "aliases": [], + "related": [], + "summary": "Delegate functions are missing `Send` bound", + "details": "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.", + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "windows", + "purl": "pkg:cargo/windows" + }, + "ecosystem_specific": { + "affects": { + "arch": [], + "os": [ + "windows" + ], + "functions": [] + } + }, + "database_specific": { + "categories": [ + "memory-corruption", + "thread-safety" + ], + "cvss": null, + "informational": "unsound" + }, + "ranges": [ + { + "type": "SEMVER", + "events": [ + { + "introduced": "0.1.2" + }, + { + "fixed": "0.32.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "PACKAGE", + "url": "https://crates.io/crates/windows" + }, + { + "type": "ADVISORY", + "url": "https://rustsec.org/advisories/RUSTSEC-2022-0008.html" + }, + { + "type": "REPORT", + "url": "https://github.com/microsoft/windows-rs/issues/1409" + } + ] +} \ No newline at end of file