ADVISORIES

RustSec Advisory Database

RUSTSEC-2020-0152

ImmediateIO and TransactionalIO can cause data races

Details

The ImmediateIO and TransactionalIO types implement Sync for all contained Expander<EI> types regardless of if the Expander itself is safe to use across threads.

As the IO types allow retrieving the Expander, this can lead to non-thread safe types being sent across threads as part of the Expander leading to data races.

Affected packages

EcosystemPackageAffected versions
crates.iomax7301
From 0.0.0-0 before 0.2.0 (fixed in 0.2.0)

References