GHSA-v42f-j8fx-99f3

Suggest an improvement
Source
https://github.com/advisories/GHSA-v42f-j8fx-99f3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-v42f-j8fx-99f3/GHSA-v42f-j8fx-99f3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v42f-j8fx-99f3
Withdrawn
2021-08-24T17:58:36Z
Published
2021-08-25T21:00:13Z
Modified
2021-08-24T17:58:36Z
Summary
Queue<T> should have a Send bound on its Send/Sync traits
Details

Affected versions of this crate unconditionally implements Send/Sync for Queue<T>.

This allows (1) creating data races to a T: !Sync and (2) sending T: !Send to other threads, resulting in memory corruption or other undefined behavior.

Database specific
{
    "github_reviewed_at": "2021-08-06T18:34:31Z",
    "cwe_ids": [
        "CWE-362"
    ],
    "github_reviewed": true,
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

crates.io / scottqueue

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-v42f-j8fx-99f3/GHSA-v42f-j8fx-99f3.json"