RUSTSEC-2020-0101

vendorUSosv

conquer-once's OnceCell lacks Send bound for its Sync trait.

view advisory published 2020-12-22Licence: CC0-1.0

Affected versions of `conquer-once` implements `Sync` for its `OnceCell` type without restricting it to `Send`able types. This allows non-`Send` but `Sync` types such as `MutexGuard` to be sent across threads leading to undefined behavior and memory corruption in concurrent programs. The issue was fixed by adding a `Send` constraint to `OnceCell`.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2020-36208UShigh7.8—
An issue was discovered in the conquer-once crate before 0.3.2 for Rust. Thread crossing can occur for a non-Send but Sync type, leading to memory corruption.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan