RUSTSEC-2020-0106

Source
https://rustsec.org/advisories/RUSTSEC-2020-0106
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0106.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2020-0106
Aliases
Published
2020-12-19T12:00:00Z
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
Queues allow non-Send types to be sent to other threads, allowing data races
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
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / multiqueue2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.1.7

Ecosystem specific

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

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "informational": "unsound",
    "categories": [
        "memory-corruption",
        "thread-safety"
    ]
}