RUSTSEC-2020-0101

vendorUSosv

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

Advisory ansehen veröffentlicht 2020-12-22Lizenz: 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

beschreibt (1)

Zugehörige CVEs.

IDSchweregrad ausnutzbar
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

Referenzen

Externe Belege — Patches, Meldungen, Analysen.

scry

Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.

Kostenloser Scan