GHSA-jphw-p3m6-pj3c

Suggest an improvement
Source
https://github.com/advisories/GHSA-jphw-p3m6-pj3c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-jphw-p3m6-pj3c/GHSA-jphw-p3m6-pj3c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jphw-p3m6-pj3c
Aliases
Published
2021-08-25T20:51:54Z
Modified
2023-11-08T04:03:41.902458Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Data races in multiqueue2
Details

Affected versions of this crate unconditionally implemented Send for types used in queue implementations (InnerSend<RW, T>, InnerRecv<RW, T>, FutInnerSend<RW, T>, FutInnerRecv<RW, T>).

This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior.

The flaw was corrected in v0.1.7 by adding T: Send bound to to the Send impl of four data types explained above.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-662"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T18:47:21Z"
}
References

Affected packages

crates.io / multiqueue2

Package

Affected ranges

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