Lucene search

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

Intern<T>: Data race allowed on T

2021-03-0312:00:00
rustsec.org
6

0.002 Low

EPSS

Percentile

60.8%

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;.

CPENameOperatorVersion
internmentlt0.4.2

0.002 Low

EPSS

Percentile

60.8%

Related for RUSTSEC-2021-0036