GHSA-6888-wf7j-34jq

Suggest an improvement
Source
https://github.com/advisories/GHSA-6888-wf7j-34jq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-6888-wf7j-34jq/GHSA-6888-wf7j-34jq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6888-wf7j-34jq
Aliases
Published
2022-06-16T23:50:05Z
Modified
2023-11-08T04:16:08.764113Z
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:50:05Z"
}
References

Affected packages

crates.io / crossbeam-queue

Package

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

Affected ranges

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