GitHub Advisoryadvisory · crates.io

GHSA-jphw-p3m6-pj3c Data races in multiqueue2

MEDIUM Published 2021-08-25 Modified 2023-06-13 Official page ↗
Aliases
CVE-2020-36214
Ecosystem
crates.io
Packages
multiqueue2
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-662
Reviewed
2021-08-19

Affected packages

• crates.io multiqueue2: < 0.1.7 → fixed in 0.1.7

Description

Affected versions of this crate unconditionally implemented Send for types used in queue implementations (InnerSend, InnerRecv, FutInnerSend, FutInnerRecv). 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.

Related

Alias · CVE (1)

  • CVE-2020-36214 An issue was discovered in the multiqueue2 crate before 0.1.7 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-662 Improper Synchronization weakness

References