Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. crossbeam-channel
  4. ›
  5. GHSA-9g55-pg62-m8hh

GHSA-9g55-pg62-m8hh: Channel creates zero value of any type

June 16, 2022

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.

References

  • github.com/advisories/GHSA-9g55-pg62-m8hh
  • github.com/crossbeam-rs/crossbeam
  • github.com/crossbeam-rs/crossbeam/pull/458
  • rustsec.org/advisories/RUSTSEC-2022-0019.html

Code Behaviors & Features

Detect and mitigate GHSA-9g55-pg62-m8hh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.4.3

Fixed versions

  • 0.4.3

Solution

Upgrade to version 0.4.3 or above.

Source file

cargo/crossbeam-channel/GHSA-9g55-pg62-m8hh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:34 +0000.