mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 17:04:32 -06:00
76 lines
2.2 KiB
JSON
76 lines
2.2 KiB
JSON
[
|
|
{
|
|
"id": "RUSTSEC-2020-0117",
|
|
"modified": "2023-06-13T13:10:24Z",
|
|
"published": "2020-11-24T12:00:00Z",
|
|
"aliases": [
|
|
"CVE-2020-36437",
|
|
"GHSA-368f-29c3-4f2r"
|
|
],
|
|
"related": [],
|
|
"summary": "QueueSender<T>/QueueReceiver<T>: Send/Sync impls need `T: Send`",
|
|
"details": "Affected versions of this crate unconditionally implemented `Send`/`Sync` for `QueueSender<T>`,\nallowing to send non-Send `T` to other threads by invoking `(&QueueSender<T>).send()`.\n\nThis fails to prevent users from creating data races by sending types like `Rc<T>` or `Arc<Cell<T>>` to other threads, which can lead to memory corruption.\n\nThe flaw was corrected in commit 1e462c3 by imposing `T: Send` to both `Send`/`Sync` impls for `QueueSender<T>`/`QueueReceiver<T>`.",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"package": {
|
|
"ecosystem": "crates.io",
|
|
"name": "conqueue",
|
|
"purl": "pkg:cargo/conqueue"
|
|
},
|
|
"ecosystem_specific": {
|
|
"affects": {
|
|
"arch": [],
|
|
"os": [],
|
|
"functions": []
|
|
},
|
|
"affected_functions": null
|
|
},
|
|
"database_specific": {
|
|
"categories": [
|
|
"memory-corruption",
|
|
"thread-safety"
|
|
],
|
|
"cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
|
|
"informational": null
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "SEMVER",
|
|
"events": [
|
|
{
|
|
"introduced": "0.0.0-0"
|
|
},
|
|
{
|
|
"fixed": "0.4.0"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": []
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "PACKAGE",
|
|
"url": "https://crates.io/crates/conqueue"
|
|
},
|
|
{
|
|
"type": "ADVISORY",
|
|
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0117.html"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://github.com/longshorej/conqueue/issues/9"
|
|
}
|
|
],
|
|
"database_specific": {
|
|
"license": "CC0-1.0"
|
|
}
|
|
}
|
|
] |