GHSA-9g55-pg62-m8hh

Suggest an improvement
Source
https://github.com/advisories/GHSA-9g55-pg62-m8hh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-9g55-pg62-m8hh/GHSA-9g55-pg62-m8hh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9g55-pg62-m8hh
Aliases
Published
2022-06-16T23:49:25Z
Modified
2023-11-08T04:17:54.817918Z
Summary
Channel 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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:49:25Z"
}
References

Affected packages

crates.io / crossbeam-channel

Package

Name
crossbeam-channel
View open source insights on deps.dev
Purl
pkg:cargo/crossbeam-channel

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.3