RUSTSEC-2020-0092

Send/Sync bound needed on V in impl Send/Sync for ARCache<K, V>

Issued
Package
concread (crates.io)
Type
Unsound
Categories
  • thread-safety
Aliases
Details
https://github.com/kanidm/concread/issues/48
Patched
  • >=0.2.6

Description

Affected versions of this crate unconditionally implemented Send/Sync traits for ARCache<K, V> type.

This allows users to send/access types that do not implement Send/Sync, which can cause a data race.

The flaw was corrected in the 0.2.6 release by adding bounds K: Send + Sync & V: Send + Sync to affected Send/Sync trait implementations.

More