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

67 lines
1.7 KiB
JSON

[
{
"id": "RUSTSEC-2022-0021",
"modified": "2023-06-13T13:10:24Z",
"published": "2022-05-10T12:00:00Z",
"aliases": [
"GHSA-6888-wf7j-34jq"
],
"related": [],
"summary": "`SegQueue` creates zero value of any type",
"details": "Affected versions of this crate called `mem::zeroed()` to create values of a user-supplied type `T`.\nThis is unsound e.g. if `T` is a reference type (which must be non-null).\n \nThe flaw was corrected by avoiding the use of `mem::zeroed()`, using `MaybeUninit` instead.",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "crossbeam-queue",
"purl": "pkg:cargo/crossbeam-queue"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [],
"cvss": null,
"informational": "unsound"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.2.3"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/crossbeam-queue"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2022-0021.html"
},
{
"type": "WEB",
"url": "https://github.com/crossbeam-rs/crossbeam/pull/458"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]