GHSA-6888-wf7j-34jq
medium
`SegQueue` creates zero value of any type
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2022-0021
Description
Affected versions of this crate called mem::zeroed() to create values of a user-supplied type T.
This is unsound e.g. if T is a reference type (which must be non-null).
The flaw was corrected by avoiding the use of mem::zeroed(), using MaybeUninit instead.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crossbeam-queue (crates.io) | before 0.2.3, from 0.0.0-0 before 0.2.3 | GitHub Advisory Database, RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-6888-wf7j-34jq changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0021 changed 2023-11-08 | CC0-1.0 |