In the affected versions of this crate, LockWeak<T>
unconditionally implemented Send
with no trait bounds on T
. LockWeak<T>
doesn't own T
and only provides &T
. This allows concurrent access to a non-Sync T
, which can cause undefined behavior like data races.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-362" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-09T17:05:10Z" }