Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. multiqueue2
  4. ›
  5. CVE-2020-36214

CVE-2020-36214: Data races in multiqueue2

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/abbychau/multiqueue2
  • github.com/abbychau/multiqueue2/issues/10
  • github.com/advisories/GHSA-jphw-p3m6-pj3c
  • nvd.nist.gov/vuln/detail/CVE-2020-36214
  • rustsec.org/advisories/RUSTSEC-2020-0106.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36214 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.7

Fixed versions

  • 0.1.7

Solution

Upgrade to version 0.1.7 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-662: Improper Synchronization

Source file

cargo/multiqueue2/CVE-2020-36214.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.