Security mailing lists by PureSourceCode

GHSA-8gj8-hv75-gp94

MEDIUM

`SegQueue` creates zero value of any type

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.

Published
10 May 2022
Last modified
8 Nov 2023
Also known as
RUSTSEC-2022-0020
Sources
OSVJSONOSV RUSTSEC-2022-0020JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io crossbeam < 0.7.0 0.7.0
OSV crates.io crossbeam >= 0.0.0-0, < 0.7.0 0.7.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.