Files
advisory-db/packages/windows.json
T
2025-10-27 16:49:06 +00:00

72 lines
1.9 KiB
JSON

[
{
"id": "RUSTSEC-2022-0008",
"modified": "2023-06-13T13:10:24Z",
"published": "2022-01-02T12:00:00Z",
"aliases": [
"GHSA-x4mq-m75f-mx8m"
],
"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.",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "windows",
"purl": "pkg:cargo/windows"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [
"windows"
],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption",
"thread-safety"
],
"cvss": null,
"informational": "unsound"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.1.2"
},
{
"fixed": "0.32.0"
}
]
}
],
"versions": []
}
],
"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"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]