GHSA-8gj8-hv75-gp94
medium
`SegQueue` creates zero value of any type
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2022-0020
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 (crates.io) | before 0.7.0, from 0.0.0-0 before 0.7.0 | GitHub Advisory Database, RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-8gj8-hv75-gp94 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0020 changed 2023-11-08 | CC0-1.0 |