reffers
Affected
- introduced
0, fixed0.6.1(semver)
Fixed versions
0.6.1
Fix
- Fixed version
0.6.1cargo update -p reffers --precise 0.6.1
Advisory
Also known as: CVE-2020-36203, RUSTSEC-2020-0094
Data races in reffers
ARefss<'a, V> is a type that is assumed to contain objects that are Send + Sync.
In the affected versions of this crate, Send/Sync traits are unconditionally implemented for ARefss<'a, V>.
By using the ARefss::map() API, we can insert a !Send or !Sync object into ARefss<'a, V>. After that, it is possible to create a data race to the inner object of ARefss<'a, V>, which can lead to undefined behavior & memory corruption.
The flaw was corrected in commit 6dd7ca0 by adding trait bound V: Send + Sync to ARefss::map() API.
Medium Basis: The source's own band: MODERATE
0, fixed 0.6.1 (semver)0.6.1
0.6.1cargo update -p reffers --precise 0.6.1Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0