ADVISORIES

RustSec Advisory Database

RUSTSEC-2020-0107

hashconsing's HConsed lacks Send/Sync bound for its Send/Sync trait.

Details

Affected versions of hashconsing implements Send/Sync for its HConsed type without restricting it to Sendable types and Syncable types.

This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.

Affected packages

EcosystemPackageAffected versions
crates.iohashconsing
From 0.0.0-0 before 1.1.0 (fixed in 1.1.0)

References