Advisory

RUSTSEC-2020-0106

Also known as: CVE-2020-36214, GHSA-jphw-p3m6-pj3c

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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-12-19 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

multiqueue2

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.1.7 (semver)

Fixed versions

0.1.7

Fix

  • Fixed version 0.1.7
    cargo update -p multiqueue2 --precise 0.1.7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences