ruspiro-singleton
Affected
- introduced
0.0.0-0, fixed0.4.1(semver)
Fixed versions
0.4.1
Fix
- Fixed version
0.4.1cargo update -p ruspiro-singleton --precise 0.4.1
Advisory
Also known as: CVE-2020-36435, GHSA-fqq2-xp7m-xvm8
Singleton lacks bounds on Send and Sync.
Singleton<T> is meant to be a static object that can be initialized lazily. In
order to satisfy the requirement that static items must implement Sync,Singleton implemented both Sync and Send unconditionally.
This allows for a bug where non-Sync types such as Cell can be used in
singletons and cause data races in concurrent programs.
The flaw was corrected in commit b0d2bd20e by adding trait bounds, requiring
the contaiend type to implement 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.1 (semver)0.4.1
0.4.1cargo update -p ruspiro-singleton --precise 0.4.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: RustSec Advisory Database · CC0-1.0