ADVISORIES

GitHub Advisory Database

GHSA-rw2c-c256-3r53

Data races in hashconsing

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
All versions before 1.1.0 (fixed in 1.1.0)

References