CVE-2018-20996Critical· 9.8▾ MidnightMsQueue and SegQueue suffer from double-free
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 53.9 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 17.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.7%
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.
Thanks to @c0gent for reporting the issue.
crossbeam >= 0.4.0, < 0.4.1Upgrade to a patched release:
crossbeam 0.4.1