All reports
Medium

Data races in noise_search

Affected versions

Version ranges need review.

Rust / Cargonoise_search
Affected versions
<= 0.7.0
Fixed version
Not reported
Rust / Cargonoise_search
Affected versions
>=0.0.0-0
Fixed version
Not reported

Exploitation

CVE-2020-36461

Probability of exploitation in the next 30 days: 1.24%

FIRST EPSS · 2026-11-22

Description

Affected versions of the noise_search crate unconditionally implement Send/Sync for MvccRwLock. This can lead to data races when types that are either !Send or !Sync (e.g. Rc<T>, Arc<Cell<_>>) are contained inside MvccRwLock and sent across thread boundaries. The data races can potentially lead to memory corruption (as demonstrated in the PoC from the original report issue).

Also, safe APIs of MvccRwLock allow aliasing violations by allowing &T and LockResult<MutexGuard<Box<T>>> to co-exist in conflicting lifetime regions. The APIs of MvccRwLock should either be marked as unsafe or MbccRwLock should be changed to private or pub(crate).

Links