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

CVE-2020-36451: Data races in rcu_cell

August 25, 2021

Affected versions of this crate unconditionally implement Send/Sync for RcuCell<T>. This allows users to send T: !Send to other threads (while T enclosed within RcuCell<T>), and allows users to concurrently access T: !Sync by using the APIs of RcuCell<T> that provide access to &T.

This can result in memory corruption caused by data races.

References

  • github.com/Xudong-Huang/rcu_cell
  • github.com/Xudong-Huang/rcu_cell/issues/3
  • github.com/Xudong-Huang/rcu_cell/pull/4
  • github.com/Xudong-Huang/rcu_cell/pull/4/commits/1faf18eee11f14969b77ae0f76dcd9ebd437d0c2
  • github.com/advisories/GHSA-686h-j8r8-wmfm
  • nvd.nist.gov/vuln/detail/CVE-2020-36451
  • rustsec.org/advisories/RUSTSEC-2020-0131.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36451 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.9

Fixed versions

  • 0.1.9

Solution

Upgrade to version 0.1.9 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

cargo/rcu_cell/CVE-2020-36451.yml

Spotted a mistake? Edit the file on GitLab.

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

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