RUSTSEC-2022-0020

Source
https://rustsec.org/advisories/RUSTSEC-2022-0020
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0020.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2022-0020
Aliases
Published
2022-05-10T12:00:00Z
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
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / crossbeam

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.7.0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": "unsound",
    "categories": []
}