Unratedcrates.ioPublished
SegQueue creates zero value of any type
GHSA-6888-wf7j-34jq
- Affected
- crates.io crossbeam-queue < 0.2.3
- Fixed in
- 0.2.3· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.2.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.