Lucene search

K
osvGoogleOSV:RUSTSEC-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
Google
osv.dev
5
usbcontext
rusb
device
devicehandle
threads
data races
memory corruption
software

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 OSV:RUSTSEC-2020-0098