Advisory

RUSTSEC-2022-0020

Also known as: GHSA-8gj8-hv75-gp94

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.
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.

Severity

Not rated by the source.

Dates

Published
2022-05-10 12:00 UTC
Modified
2023-11-08 04:17 UTC

Affected packages and fixes

crossbeam

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.7.0 (semver)

Fixed versions

0.7.0

Fix

  • Fixed version 0.7.0
    cargo update -p crossbeam --precise 0.7.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences