GHSA-8gj8-hv75-gp94

Suggest an improvement
Source
https://github.com/advisories/GHSA-8gj8-hv75-gp94
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-8gj8-hv75-gp94/GHSA-8gj8-hv75-gp94.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8gj8-hv75-gp94
Aliases
Published
2022-06-16T23:51:13Z
Modified
2023-11-08T04:17:21.695455Z
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:51:13Z"
}
References

Affected packages

crates.io / crossbeam

Package

Affected ranges

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