Advisory

GHSA-686h-j8r8-wmfm

Also known as: CVE-2020-36451, RUSTSEC-2020-0131

Summary

Data races in rcu_cell

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

rcu_cell

crates.io · All systems

Affected

  • introduced 0, fixed 0.1.9 (semver)

Fixed versions

0.1.9

Fix

  • Fixed version 0.1.9
    cargo update -p rcu_cell --precise 0.1.9

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