Vulnerability MediumRUSTSEC-2022-0029 · crossbeam
RUSTSEC-2022-0029: `MsQueue` `push`/`pop` use the wrong orderings
Short answerA security vulnerability in the crossbeam crate: `MsQueue` `push`/`pop` use the wrong orderings. GitHub rates it Medium. Fixed in 0.3.0: update to a fixed version.
| Crate | crossbeam |
|---|---|
| Type | Vulnerability (thread-safety, memory-corruption) |
| Affected versions | Before 0.3.0. |
| Fixed in | 0.3.0 |
| Severity | Medium (GitHub rating) |
| Published | 2022-06-07 |
| Last changed | 2023-11-08 |
| Also known as | GHSA-rwf4-gx62-rqfw |
What to do
- See which version you have:
cargo tree -i crossbeam(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p crossbeam. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplecrossbeam = "0.3.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Affected versions of this crate use orderings which are too weak to support this data structure. It is likely this has caused memory corruption in the wild: <https://github.com/crossbeam-rs/crossbeam/issues/97#issuecomment-412785919>.
References
- Package: crates.io/crates/crossbeam
- Advisory: rustsec.org/advisories/RUSTSEC-2022-0029.html
- Web: github.com/crossbeam-rs/crossbeam/pull/98
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for crossbeam
Up next
Same cratecrossbeam: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?