ADVISORIES

RustSec Advisory Database

RUSTSEC-2020-0090

Thex<T> allows data races of non-Send types across threads

Details

thex::Thex<T> implements Sync for all types T. However, it is missing a bound for T: Send.

This allows non-Send types such as Rc to be sent across thread boundaries which can trigger undefined behavior and memory corruption.

Affected packages

EcosystemPackageAffected versions
crates.iothex
From 0.0.0-0, no fix listed

References