Advisory

GHSA-c3cw-c387-pj65

Also known as: CVE-2018-20996, RUSTSEC-2018-0009

Summary

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:43 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

crossbeam

crates.io · All systems

Affected

  • introduced 0.4.0, fixed 0.4.1 (semver)

Fixed versions

0.4.1

Fix

  • Fixed version 0.4.1
    cargo update -p crossbeam --precise 0.4.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences