Advisory

GHSA-jphw-p3m6-pj3c

Also known as: CVE-2020-36214, RUSTSEC-2020-0106

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:51 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

multiqueue2

crates.io · All systems

Affected

  • introduced 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences