Lucene search

K
rustsecRustsecRUSTSEC-2020-0098
HistoryDec 18, 2020 - 12:00 p.m.

UsbContext trait did not require implementers to be Send and Sync.

2020-12-1812:00:00
rustsec.org
10
rusb
usbcontext
data races
memory corruption
fix .

EPSS

0

Percentile

12.6%

Affected versions of rusb did not require UsbContext to implement Send
and Sync. However, through Device and DeviceHandle it is possible to use
UsbContexts 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.

EPSS

0

Percentile

12.6%

Related for RUSTSEC-2020-0098