Lucene search

K
osvGoogleOSV:RUSTSEC-2021-0036
HistoryMar 03, 2021 - 12:00 p.m.

Intern<T>: Data race allowed on T

2021-03-0312:00:00
Google
osv.dev
5
data race
intern<t>
sync
memory corruption

EPSS

0.002

Percentile

60.7%

Affected versions of this crate unconditionally implements Sync for Intern&lt;T&gt;.
This allows users to create data race on T: !Sync, which may lead to undefined behavior
(for example, memory corruption).

The flaw was corrected in commit 2928a87 by adding the trait bound T: Sync in the Sync impl of Intern&lt;T&gt;.

EPSS

0.002

Percentile

60.7%

Related for OSV:RUSTSEC-2021-0036