tiny_future
Affected
- introduced
0.0.0-0, fixed0.4.0(semver)
Fixed versions
0.4.0
Fix
- Fixed version
0.4.0cargo update -p tiny_future --precise 0.4.0
Advisory
Also known as: CVE-2020-36438, GHSA-fg42-vwxx-xx5j, GHSA-m296-j53x-xv95
Future<T> lacks bounds on Send and Sync.
tiny_future contains a light-weight implementation of Futures. The Future
type it has lacked bound on its Send and Sync traits.
This allows for a bug where non-thread safe types such as Cell can be used inFutures and cause data races in concurrent programs.
The flaw was corrected in commit c791919 by adding trait bounds to Future'sSend and Sync.
High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
0.0.0-0, fixed 0.4.0 (semver)0.4.0
0.4.0cargo update -p tiny_future --precise 0.4.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: RustSec Advisory Database · CC0-1.0