GHSA-rwf4-gx62-rqfw `MsQueue` `push`/`pop` use the wrong orderings

Not scored Published

Weak memory orderings in MsQueue push/pop operations can lead to memory corruption, potentially allowing code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is GHSA-rwf4-gx62-rqfw?

GHSA-rwf4-gx62-rqfw is a memory corruption vulnerability in crossbeam, published on 7 Jun 2022.

Official description

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>.

Which versions are affected by GHSA-rwf4-gx62-rqfw?

3 open source packages ship an affected version, including crossbeam.

PackageAffectedFixed in
crossbeam crates.ioAll versions0.3.0
crossbeam crates.ioAll versions0.3.0
crossbeam crates.ioFrom 0.0.0-00.3.0

How do I fix GHSA-rwf4-gx62-rqfw?

Upgrade crossbeam to 0.3.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is GHSA-rwf4-gx62-rqfw being exploited?

There is no known exploitation of GHSA-rwf4-gx62-rqfw in the wild and no public exploit code.

Sources

Also known as RUSTSEC-2022-0029.

Is GHSA-rwf4-gx62-rqfw in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free