GHSA-9g55-pg62-m8hh
high
Channel creates zero value of any type
- Severity
- high rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2022-0019
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-channel (crates.io) | before 0.4.3, from 0.0.0-0 before 0.4.3 | GitHub Advisory Database, RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-9g55-pg62-m8hh changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0019 changed 2023-11-08 | CC0-1.0 |