rusb
Affected
- introduced
0.0.0-0, fixed0.7.0(semver)
Fixed versions
0.7.0
Fix
- Fixed version
0.7.0cargo update -p rusb --precise 0.7.0
Advisory
Also known as: CVE-2020-36206, GHSA-9mxw-4856-9cm5
UsbContext trait did not require implementers to be Send and Sync.
Affected versions of rusb did not require UsbContext to implement Send
and Sync. However, through Device and DeviceHandle it is possible to useUsbContexts across threads.
This issue allows non-thread safe UsbContext types to be used concurrently
leading to data races and memory corruption.
The issue was fixed by adding Send and Sync bounds to UsbContext.
High Basis: CVSS v3 score 7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
0.0.0-0, fixed 0.7.0 (semver)0.7.0
0.7.0cargo update -p rusb --precise 0.7.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