logo

GHSA-6888-wf7j-34jq crossbeam-queue

Package

Manager: cargo
Name: crossbeam-queue
Vulnerable Version: >=0 <0.2.3

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

`SegQueue` creates zero value of any type 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.

Metadata

Created: 2022-06-16T23:50:05Z
Modified: 2022-06-16T23:50:05Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-6888-wf7j-34jq/GHSA-6888-wf7j-34jq.json
CWE IDs: []
Alternative ID: N/A
Finding: F138
Auto approve: 1