ADVISORIES

GitHub Advisory Database

GHSA-c3cw-c387-pj65

Double free in crossbeam

Details

Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees.

The flaw was corrected by wrapping elements inside queues in a ManuallyDrop.

Affected packages

EcosystemPackageAffected versions
crates.iocrossbeam
From 0.4.0 before 0.4.1 (fixed in 0.4.1)

References