ticketed_lock
Affected
- introduced
0, fixed0.3.0(semver)
Fixed versions
0.3.0
Fix
- Fixed version
0.3.0cargo update -p ticketed_lock --precise 0.3.0
Advisory
Also known as: CVE-2020-36439, GHSA-gq4h-f254-7cw9, RUSTSEC-2020-0119
Data races in ticketed_lock
Affected versions of this crate unconditionally implemented Send for ReadTicket<T> & WriteTicket<T>. This allows to send non-Send T to other threads. This can allows creating data races by cloning types with internal mutability and sending them to other threads (as T of ReadTicket<T>/WriteTicket<T>). Such data races can cause memory corruption or other undefined behavior. The flaw was corrected in commit a986a93 by adding T: Send bounds to Send impls of ReadTicket<T>/WriteTicket<T>.
High Basis: The source's own band: HIGH
0, fixed 0.3.0 (semver)0.3.0
0.3.0cargo update -p ticketed_lock --precise 0.3.0Fix 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